This BMI Calculator app is designed to help Flutter beginners understand the basics of building a simple health-related application. It calculates the Body Mass Index (BMI) based on the user's input for height and weight. The app then displays the BMI value along with a visual representation of the BMI using a linear progress indicator.
- Input fields for height (in cm) and weight (in kg).
- Button to calculate BMI based on the provided inputs.
- Display of BMI value and a linear indicator representing the BMI.
- Option to reset and check another BMI calculation.
To run the BMI Calculator app:
- Ensure you have Flutter installed on your system.
- Clone the repository or download the source code.
- Navigate to the project directory in your terminal.
- Run
flutter pub get
to install dependencies. - Connect your device or emulator.
- Run
flutter run
to launch the app.
- Enter your height in centimeters and weight in kilograms.
- Tap the "CALCULATE BMI" button to see your BMI value.
- View the linear progress indicator to understand your BMI percentage.
- Tap "CHECK ANOTHER" to reset and perform another calculation.
percent_indicator: ^3.0.1
- Used to display the linear percentage indicator.
- [Abhijith Konnayil] - GitHub Profile
This project is licensed under the MIT License.