- Scan The Food to analyze what is in it Using
AIby doing the following:- Unveiling Contents and Caloric Breakdown.
- Healthiness and Benefits of Featured Foods.
- Facts and Summaries.
- Unveiling Dietary Preferences and Status.
- How to Prepare it at Home.
- Ability to save this scan result in a
local database. - Ability to share this scan result as a
PDF. - Searching Meals and Get Recipes Using
AI.
- Using hive as a local Database:
hive_generatorto generateAdaptersto work with custom data types.
- Using json_serializable To generate to/from JSON code for a class.
- Using
Large Language ModelAPI from Google Gemini Pro Vision forFreeform PromptandImage Recognizing. - Using
Large Language ModelAPI from Google Gemini Pro forChat Prompt. - Using screenshot to capture widgets as Images
Food Scan results. - Using pdf to create a full multi-pages document with this
screenshots images. - Using share_plus to
share the PDF. - The app supports
LocalizationsinArabicandEnglish: - The app supports
ThemingforLightandDark. - The app supports
12 different colorsscheme, the user can change it insettings. - Using
Web Scrapingusing html the dom package.- To scrape Wikipedia images to get
food and ingredientsimages. - Ability to
scalethe images.
- To scrape Wikipedia images to get
- Using path_provider plugin to save The files
imagesinApplicationDocumentsDirectory. - Using url_launcher plugin.
- Using flutter_markdown to renders Markdown
for AI responses. - The
Animationin the App is done Using flutter_animate Package.
-
Using
ProviderState Management. -
Using
get_itfor Dependency injection (service locator). -
Using Model–view–viewmodel
MVVMarchitectural pattern.
lib
│
│───main.dart
│───l10n
│
└───src
│
│───core
| |
| |──error
| │──network
| │──theme
| | │──colors
| | │──dark_theme
| | └──light_theme
| |
| └──util
| |──builders
| │──classes
| │──extensions
| │──functions
| └──widgets
|
│───features
| |
| |──food_scanning
| │──meals
| └──home_and_drawers_screens
|
│───app.dart
└───injection_container.dart
│───features
|
│──food_scanning
| |
| |──data
| | |
| | |──models
| | | └──food_scanning_result_model.dart
| | |
| | └──services
| | |
| | |──favorite_food_scanning_local_data_service.dart
| | |──favorite_food_scanning_local_storage_service.dart
| | └──food_scanning_service.dart
| |
| │──viemodels
| | |
| | |──favorite_food_scanning_viewmodel.dart
| | └──food_scanning_viewmodel.dart
| |
| └──views
| |
| |──screens
| | |──all_favorite_food_scan_screen.dart
| | |──favorite_food_scan_screen.dart
| | |──food_scan_result_screen.dart
| | └──food_scan_screen.dart
| |
| |──providers
| | |──convert_image_to_png.dart
| | |──favorites_food_scan.dart
| | └──food_scan.dart
| |
| └──widgets
| |──favorite_food_scan
| |──food_scan
| |──share_as_pdf
| |──custom_tap.dart
| |──customized_markdown.dart
| |──image_and_choices_appbar.dart
| └──overview_result.dart
|
|
|
│──meals
└──home_and_drawers_screens
| Food Scan Screen | Getting Image | Scan Result Screen |
|---|---|---|
![]() |
![]() |
![]() |
| Waiting for results | The results in Markdown |
The result can be saved in Favorites |
|---|---|---|
![]() |
![]() |
![]() |
| The result can be shared as PDF | The PDF can be shared to external apps |
|---|---|
![]() |
![]() |
| Favorites Food scans | If the result previously loaded it saved to the local | It still can get other results from Favorites |
|---|---|---|
![]() |
![]() |
![]() |
Search for meals using Gemini Pro |
One result, the images from Wikipedia by Screping |
|---|---|
![]() |
![]() |
| The result meal in details with images | The meal can be toggled as favorites |
|---|---|
![]() |
![]() |
| Categories Screen | Some meals in the categories | Meal in details with images |
|---|---|---|
![]() |
![]() |
![]() |
| Favorite meals Screen | Meals can be removed from favorites |
|---|---|
![]() |
![]() |
| Meals Settings Screen | General Settings Screen |
|---|---|
![]() |
![]() |
| Theme Mode can be changed | Language can be changed | Color can be changed |
|---|---|---|
![]() |
![]() |
![]() |
| Example in different settings | Example in different settings | Example in different settings |
|---|---|---|
![]() |
![]() |
![]() |





























