How wastebank-project/mobile_app works
This is a cross-platform Flutter waste-management app. Its apparent user workflow spans account access, customer records, waste entry and savings/balance operations, with separate waste-detection and recommendation screens. The tree also indicates home-page history, charts and articles, plus profile functions. Source excerpts cover only the Windows host bootstrap, not Dart behavior; app-screen relationships below are therefore dashed and unverified. The README provides no product-level capability details, so those branches are inferred from filenames rather than inspected implementations.
Main entry points: home_page.dart Home dashboard · main.dart Flutter entry · flutter_window.cpp Flutter window · login_screen.dart Account access
Components 18
App entry and access
- Flutter entry
lib/main.dart - Account access
lib/presentation/page/login_page/login_screen.dart - Registration
lib/presentation/page/register_page/register_page.dart - Home dashboard
lib/presentation/page/home_page/home_page.dart - Profile
lib/presentation/page/profile_page/profile_page.dart - Authentication logic
lib/domain/authentication.dart
Customer management
- Customer screens
lib/presentation/page/customers_page/customers_page.dart - Customer operations
lib/domain/customers.dart
Waste and savings
- Savings screens
lib/presentation/page/saving_page/saving_page_screen.dart - Waste detection
lib/presentation/page/waste_detection/waste_detection.dart - Waste operations
lib/domain/waste.dart - YOLO inference
lib/domain/yolo_service_tflite.dart - TFLite model
assets/model/YOLOv8s_e100_lr0.0001_32_int8.tflite
Windows host
- Windows launcher
windows/runner/main.cpp - Flutter window
windows/runner/flutter_window.cpp - Native window
windows/runner/win32_window.cpp - Plugin registration
windows/flutter/generated_plugin_registrant.cc
Other components
- App user
Connections 17
- App user → Flutter entry: opens app
- Flutter entry → Account access: routes to
- Flutter entry → Registration: routes to
- Flutter entry → Home dashboard: routes to
- Account access → Authentication logic: uses
- Registration → Authentication logic: uses
- Home dashboard → Customer screens: offers access
- Home dashboard → Savings screens: offers access
- Home dashboard → Waste detection: offers access
- Home dashboard → Profile: offers access
- Customer screens → Customer operations: uses
- Savings screens → Waste operations: uses
- Waste detection → YOLO inference: uses
- YOLO inference → TFLite model: loads model
- Windows launcher → Flutter window: creates
windows/runner/main.cpp - Flutter window → Native window: inherits window
- Flutter window → Plugin registration: registers plugins
windows/runner/flutter_window.cpp