https://github.com/manraj29/bmi-calculator-app
A simple and interactive Flutter application to calculate and interpret Body Mass Index (BMI).
https://github.com/manraj29/bmi-calculator-app
bmi-calculator flutter-apps
Last synced: 13 days ago
JSON representation
A simple and interactive Flutter application to calculate and interpret Body Mass Index (BMI).
- Host: GitHub
- URL: https://github.com/manraj29/bmi-calculator-app
- Owner: Manraj29
- Created: 2024-12-23T18:48:19.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-01-03T08:01:42.000Z (5 months ago)
- Last Synced: 2025-01-03T09:18:01.650Z (5 months ago)
- Topics: bmi-calculator, flutter-apps
- Language: Dart
- Homepage:
- Size: 3.81 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BMI Calculator App
A simple and interactive Flutter application to calculate and interpret Body Mass Index (BMI). The app supports dynamic themes (light/dark mode), allows users to input their details (gender, age, height, and weight), and provides BMI results with interpretations tailored for both adults and children.
---
## Features
- **Dynamic Light/Dark Mode**: Users can toggle between light and dark themes for a personalized experience.
- **Gender Selection**: The app allows users to select their gender for more accurate interpretation of BMI results.
- **Age and Child-Specific Interpretation**: The BMI calculation considers both age and gender to provide interpretations for adults and children.
- **Smooth Navigation**: Includes a loading screen before displaying results to enhance the user experience.
- **Simple and Intuitive UI**: A clean design for easy input and understanding of BMI results.
- **Proper Error Handling**: The app validates user input and displays error messages for incorrect data.
- **About BMI**: Additional information about BMI and its significance for health.
- **Responsive Design**: The app is designed to work on both Android and iOS devices.---
## Screenshots
| Home Screen | Navigation Bar | Result Screen | About BMI |
|:-----------:|:-------------:|:---------:|:--------------:|
||
|
|
| Light Mode | Dark Mode |
|:----------:|:---------:|
||
|
---
## How to Use the App
1. Enter your **age**, **weight** (in kg), and **height** (in cm).
2. Select your **gender** using the radio buttons.
3. Press the **Calculate BMI** button.
4. Wait for the loading screen to display your result.
5. View your BMI and interpretation on the result screen.---
## Technologies Used
- **Flutter**: Cross-platform development framework.
- **Dart**: Programming language used with Flutter.
- **Material Design**: UI components to build a visually appealing app.---
## How BMI is Calculated
Example Calculations:
- COnsidering **Adult Male (25 years, 178 cm, 69.8 kg):**
- BMI = 24.2 (Normal weight)
- Considering **Adult Female (35 years, 162.5 cm, 59.9 kg):**
- BMI = 22.1 (Normal weight)
- Considering **Child (10 years, 142.5 cm, 38.6 kg):**
- BMI-for-age percentile = 50th percentile (Normal weight)---
## Project Structure
```
lib/
|-- main.dart
|-- BMIScreen.dart # Home screen for inputting details
|-- BMIResultScreen.dart # Result screen showing BMI and interpretation
|-- AboutBMI.dart # Additional information about BMI
|-- NavBar.dart # Navigation bar for app-wide navigation
```---
## How to Run the Project
1. Clone this repository:
```bash
git clone https://github.com/Manraj29/bmi-calculator-app.git
```2. Navigate to the project directory:
```bash
cd bmi-calculator-app
```3. Install dependencies:
```bash
flutter pub get
```4. Run the app:
```bash
flutter run
```---