Skip to content

Standard BMI (Body Mass Index) calculator by Flutter.

Notifications You must be signed in to change notification settings

MhdSalahu/BMI_Calculator_App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BMI_Calculator

The Body Mass Index (BMI) is a simple calculation used to determine if a person is underweight, normal weight, overweight, or obese based on their height and weight. The BMI calculation is not a diagnostic tool, but it can provide a general idea of a person's body weight status.

Getting Started

Usage

To use the BMI Calculator, simply enter your weight in kilograms (kg) and height in meters (m) into the input field.

BMI = weight (kg) / height (m)^2

If you prefer to use pounds (lb) and inches (in), you can convert them to kilograms and meters using the following conversions:

weight (kg) = weight (lb) / 2.20462
height (m) = height (in) / 39.3701

Interpretation of Results

The resulting BMI value can be interpreted using the following categories:

Underweight: BMI less than 18.5 Normal weight: BMI between 18.5 and 24.9 Overweight: BMI between 25 and 29.9 Obese: BMI of 30 or higher

It is important to note that the BMI calculation is just a rough estimate and should not be used as a diagnostic tool. Other factors such as muscle mass, body composition, and overall health can affect the interpretation of BMI results.

Conclusion

The BMI Calculator is a simple tool that can provide a general idea of a person's body weight status. However, it should not be used as a diagnostic tool and a healthcare professional should be consulted for a proper evaluation of body weight.

To run

To run a the Flutter project, you will need to follow these steps:

  1. Install Flutter: If you haven't already, install the Flutter SDK on your machine. You can find the installation instructions for your operating system in the Flutter documentation.

  2. Clone the repository: Open a terminal or command prompt and navigate to the directory where you want to clone the repository. Run the following command to clone the repository:

       git clone https://github.com/<username>/<repository>.git
    

    Replace <username> with the username of the repository owner, and '' with the name of the repository.

  3. Navigate to the project directory: After cloning the repository, navigate to the project directory by running the following command:

     cd <repository>
    

    Replace <repository> with the name of the repository.

  4. Install dependencies: Run the following command to install the dependencies specified in the pubspec.yaml file:

     flutter pub get
    
  5. Run the project: Finally, you can run the project by using the following command:

     flutter run
    

    This will run the Flutter project on an emulator or a connected device.