How rizkidwisaputra646/nutri-ku works
Kalorin is a Flutter nutrition tracker and adaptive meal-planning app. Its main user journey spans account and profile setup, food-photo analysis with portion adjustment, nutrition logging, and daily tracking; separate capabilities include personalized meal plans, clinical nutrition targets, and meal reminders. The README documents the product capabilities and integrations, but the sampled source contains no Dart implementation, so component-level runtime wiring is not verified; uncertain links are omitted or marked dashed.
Main entry points: notification_service.dart Meal reminders · scanner_screen.dart Food scanner · api_service.dart Vision API · nutrition_calculator.dart Nutrition calculator
Components 25
User experience
- Sign in
lib/screens/login_screen.dart - Profile setup
lib/screens/onboarding_screen.dart - App navigation
lib/screens/main_nav.dart - Daily dashboard
lib/screens/home_screen.dart - Food scanner
lib/screens/scanner_screen.dart - Scan results
lib/screens/result_screen.dart - Food history
lib/screens/history_screen.dart - Meal planner
lib/screens/meal_plan_screen.dart - Nutrition insights
lib/screens/insights_screen.dart - Profile view
lib/screens/profile_screen.dart
Nutrition workflow
- Scan state
lib/providers/scan_provider.dart - Food item
lib/models/food_item.dart - User profile
lib/models/user_profile.dart
Application services
- Nutrition calculator
lib/services/nutrition_calculator.dart - Food logging
lib/services/food_log_service.dart - Meal planning
lib/services/meal_planner_service.dart - Authentication
lib/services/auth_service.dart - Profile service
lib/services/profile_service.dart - Vision API
lib/services/api_service.dart - Meal reminders
lib/services/notification_service.dart
External integrations
- Firebase services
- Cloudflare Worker
- Gemini Vision
- Local notifications
Other components
- User
Connections 16
- User → Sign in: signs in
README.md - User → Profile setup: sets profile
README.md - User → Food scanner: selects food photo
README.md - Food scanner → Vision API: requests analysis
- Vision API → Cloudflare Worker: sends image
README.md - Cloudflare Worker → Gemini Vision: uses vision AI
README.md - User → Scan results: adjusts portion
README.md - User → Food history: views timeline
README.md - User → Meal planner: views recommendations
README.md - User → Profile view: views targets
README.md - Nutrition calculator → User profile: calculates targets
- Authentication → Firebase services: authenticates
README.md - Food logging → Firebase services: stores consumption
- Meal planning → Firebase services: loads profile data
- Meal reminders → Firebase services: uses FCM
README.md - Meal reminders → Local notifications: sends local alerts
README.md