How tranbaodev/nutrition-tracker-recognition-app works
OpenNutriTracker is a Flutter mobile nutrition tracker. Its documented user workflow is to find food (including barcode lookup), log meals, and review consumption and progress in a diary. The tree shows feature areas for meals, scanning, diary, activity, onboarding, profile, and settings, but no Dart implementation excerpts were supplied; links between these stages and their data sources therefore remain unverified. The README names Open Food Facts and FoodData Central as food-data providers.
Main entry points: repository Data Repositories · data Food Catalogues · add_meal Find Food · scanner Barcode Scanner
Components 19
Food Logging
- Find Food
lib/features/add_meal - Add Meal
lib/features/add_meal - Edit Meal
lib/features/edit_meal - Meal Detail
lib/features/meal_detail - Food Catalogues
lib/features/add_meal/data - Barcode Scanner
lib/features/scanner
Daily Tracking
- Food Diary
lib/features/diary - Nutrition Overview
lib/features/home - Log Activity
lib/features/add_activity - Activity Detail
lib/features/activity_detail
User Setup
- Onboarding
lib/features/onboarding - Profile
lib/features/profile - Settings
lib/features/settings
Shared App
- Domain Logic
lib/core/domain - Data Repositories
lib/core/data/repository - Local Data
lib/core/data/data_source - Shared UI
lib/core/presentation
Other components
- User
- Food Data Services
Connections 16
- User → Find Food: searches foods
- User → Barcode Scanner: scans barcode
- User → Add Meal: logs meals
- User → Food Diary: reviews diary
- User → Nutrition Overview: reviews progress
- User → Log Activity: logs activity
- User → Onboarding: sets up profile
- User → Settings: changes settings
- Find Food → Food Catalogues: queries
- Food Catalogues → Food Data Services: requests food data
- Barcode Scanner → Food Catalogues: looks up barcode
- Add Meal → Data Repositories: persists meal
- Food Diary → Data Repositories: loads entries
- Nutrition Overview → Domain Logic: computes overview
- Data Repositories → Local Data: reads and writes
- Onboarding → Data Repositories: stores profile