H.Partner is a mobile application developed using Flutter. It supports both Android and IOS.
H.Partner is a Nutrition System application. It allows the user to calculate daily his calories, protein, car, and fat,. the user can buy from market off app healthy products, the user can follow her health by charts that used in our app
- firebase_core to make integration database
- firebase_auth to handle authentication
- firebase_storage to save media of app in it
- tflite to used machine learning model in our app
- fl_chart to handle charts of analytics
- flutter_bloc as state management
- shared_preferences to handle caching data
- internet_connection_checker to handle internet connection
- image_picker to pick image from mobile storage
- flutter_localizations to handle localization
We have applied clean archeticture concept and here is the basic folder structure:
core folder structure that flutter provides:
h_partner
├── android
├── assets
├── build
├── ios
├── lib
└── test
Here is the folder structure we have been using in this project:
lib
├── layout
├── model
├── modules
├── shared
└── main.dart
This folder containes the business logic of the application specificly state management.
layout
├── admin layout
└── home-layout
This folder contains all models related to the application
model
├── feedback_model.dart
├── meals_model.dart
├── new_order_model.dart
├── product_model.dart
├── recipes_model.dart
└── user_model.dart
This folder contains all screens and designs related to the application
modules
├── add_info
├── change_address_and_phone
├── block_user
├── breakfast
├── buy_now
├── camera
├── cart
├── complete_diary
├── customer_dashboard
├── dinner
├── edit_goal
├── feedback
├── home
├── login
├── lunch
├── market
├── meal_item
├── nutrition
├── onBoarding
├── order_layout
├── recipe
├── register
├── result_of_detection
├── search_recipe_screen
├── snacks
└── water_track
This folder contains everything used anywhere in the app .
shared
├── components
├── localization
├── network
├── styles
└── bloc_observer
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
https://www.youtube.com/watch?v=FR8rsPSzJb4&ab_channel=omaressam