Skip to content

kforjan/diet-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DietControl - Flutter application for custom macronutrients tracking

Flutter application for counting daily calories and macronutrients based on custom user parameters.

About

The main focus of this project was on using local storage (shared preferences and sqlite) and displaying data in graphs with easy and understandable UI in Flutter. User parameters are stored with shared preferences and meals are stored using SQLite. State management used in this project is Provider with ChangeNotifier.

Setup

  1. Clone the repository using the link below:
https://github.com/kforjan/diet-control.git
  1. Go to the project root and execute the following commands:
flutter pub get
flutter run

Used packages

Features

  • Input and storage of custom user parameters locally (weight, height, age...)
  • Automatic determination of recommended daily calories
  • Adding and storing custom meals locally (name of the meal and macronutrients)
  • Deletion of meals from local memory
  • Resetting daily input of calories every 24h
  • Deletion of the user and user data
  • Display of daily intake using the bar and pie chart

Preview

DietControl preview

Possible improvements

  • Folder structure
  • Online user storage
  • BloC state management (optional)

About

Flutter app for controling your diet. It makes counting macro nutrients and calories easy.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages