1
0
mirror of https://github.com/nisrulz/flutter-examples.git synced 2025-11-09 04:58:58 +00:00

BMI calculator example (#130)

This commit is contained in:
lutaii
2023-10-12 18:08:26 +02:00
committed by GitHub
parent f761e553e4
commit 36c8bed38c
19 changed files with 780 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
enum Sex {
male,
female,
}
// User body model class
class BodyModel {
Sex sex;
int height;
int weight;
int age;
BodyModel({
required this.sex,
required this.height,
required this.weight,
required this.age,
});
}