Skip to content

This project was built in flutter to showcase how we can customize widgets , use maps and enums

Notifications You must be signed in to change notification settings

Angera-Silas/bmi_calculator

Repository files navigation

BMI Calculator 💪

Overview

BMI Calculator is a Flutter application designed to calculate Body Mass Index (BMI) and help users track their health status. With a modern design and intuitive interface, this app is perfect for anyone looking to manage their fitness journey effectively.


Features

  • BMI Calculation: Quickly and accurately calculate BMI using height and weight inputs.
  • User Accounts: Securely register and log in to access personal data.
  • History Tracking: Save and view BMI history to monitor progress over time.
  • Password Management: Securely store and manage user login credentials.
  • Multi-Screen Navigation: Smooth navigation between input, results, and history screens.
  • Themed Design: Coherent branding achieved through Flutter's powerful theming system.
  • Custom Widgets: Beautifully styled UI components tailored for this app.
  • Responsive Design: Fully responsive layout compatible with various screen sizes and orientations.

Our Goal

The objective of this project is to demonstrate how Flutter Widgets can be customised to create beautiful, unique user interfaces. The project showcases that no matter how unconventional the design is, Flutter can bring it to life.


What You Will Create

This project is a Body Mass Index Calculator inspired by the stunning design concepts from Ruben Vaalt. It features a modern multi-screen layout with seamless navigation and a stylish, intuitive user experience.


What You Will Learn

Working on this project will teach you several important Flutter development skills:

  • Flutter Theming: Learn to create consistent and cohesive app branding using themes.
  • Multi-Page Apps: Master navigation using Flutter Routes and the Navigator class.
  • Widget Refactoring: Simplify and organise code by refactoring Widgets.
  • Passing Functions: Understand how to pass functions as parameters and fields.
  • Gesture Detection: Use the GestureDetector widget to detect various user interactions.
  • Custom Colours: Apply hex codes for creating vibrant, custom colour palettes.
  • Widget Customisation: Modify default Flutter Widgets to match specific design needs.
  • Dart Enums: Manage states and conditions effectively using Dart Enums.
  • Ternary Operator: Simplify conditional expressions with Dart's ternary operator.
  • Composition vs Inheritance: Discover the Flutter way of building UI using composition.
  • Const vs Final: Learn the differences and best practices for const and final in Dart.

App Preview

Screenshots

  • Input Screen: Enter height and weight to calculate BMI.

bmi-phone9

  • Results Screen: Display BMI results along with health categorisation.

    bmi-phone8

  • History Screen: View past BMI calculations and track progress.

bmi-phone5


Installation

To run the BMI Calculator on your local machine, follow these steps:

  1. Clone this repository:
    git clone https://github.com/Angera-Silas/BMI-Calculator.git
    

Steps to Run the App

  1. Navigate to the project directory:
    cd BMI-Calculator
  2. Install Dependencies:
flutter pub get
flutter run

About

This project was built in flutter to showcase how we can customize widgets , use maps and enums

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages