This is a simple BMI (Body Mass Index) calculator app built using Flutter. It helps users calculate their BMI based on their height and weight inputs. The app provides a user-friendly interface and displays the calculated BMI along with a corresponding weight status category (underweight, normal weight, overweight, or obese).
- Input value for height and weight.
- Real-time BMI calculation as the user inputs values.
- Display of BMI value and corresponding weight status.
- Minimalistic and intuitive user interface.
- Flutter: A UI toolkit by Google for building natively compiled applications for mobile, web, and desktop from a single codebase.
- GetX State Management: A lightweight, yet powerful state management solution for Flutter applications.
To run this app on your local machine, follow these steps:
-
Clone the repository:
git clone https://github.com/MahmoudElSayed96/new-bmi.git cd new-bmi
-
Install dependencies: This project uses the following dependencies:
-
flutter
: The Flutter framework (https://flutter.dev/). -
GetX
: State management for Flutter (https://pub.dev/packages/get). -
flutter_launcher_icons
: (https://pub.dev/packages/flutter_launcher_icons)Make sure you have Flutter and Dart installed. Then, run:
flutter pub get
-
Run the app:
Connect a device or start an emulator, and then run:
flutter run
Make sure to check the pubspec.yaml
file for a full list of dependencies.
Contributions are welcome! If you find any issues or have suggestions, feel free to open an issue or create a pull request.
- Fork the repository.
- Create a new branch for your feature or fix:
git checkout -b feature-name
. - Make your changes and commit them:
git commit -am 'Add some feature'
. - Push the branch to your fork:
git push origin feature-name
. - Open a pull request detailing your changes.