How ronnie63/final_4-members works
The repository is a Flutter app whose filenames indicate student and staff workflows for authentication, menu browsing, cart checkout, and order management. The README is only Flutter boilerplate, and no Dart source was excerpted, so these domain roles and their connections are inferred from the tree; those edges are dashed and unverified. The sampled Windows files show the desktop host creating a Flutter view and registering plugins, but not the app’s Dart behavior.
Main entry points: student_home.dart Student home · order_provider.dart Order state · app.dart App shell · cart_screen.dart Cart checkout
Components 23
App experience
- App entry
lib/main.dart - App shell
lib/app.dart - Sign in
lib/screens/login_screen.dart - Student home
lib/screens/student_home.dart - Browse menu
lib/screens/menu_screen.dart - Cart checkout
lib/screens/cart_screen.dart - Student orders
lib/screens/orders_screen.dart - Staff home
lib/screens/staff_home.dart - Manage menu
lib/screens/staff_menu_screen.dart - Manage orders
lib/screens/staff_orders_screen.dart
App state
- Auth state
lib/providers/auth_provider.dart - Cart state
lib/providers/cart_provider.dart - Menu state
lib/providers/menu_provider.dart - Order state
lib/providers/order_provider.dart - Domain models
lib/models
Services and data
- Authentication service
lib/services/auth_service.dart - Firestore service
lib/services/firestore_service.dart
Windows host
- Windows window
windows/runner/win32_window.cpp - Flutter view host
windows/runner/flutter_window.cpp - Plugin registration
windows/flutter/generated_plugin_registrant.cc - Plugin declaration
windows/flutter/generated_plugin_registrant.h
Other components
- App user
- Firebase
Connections 24
- App user → App entry: opens app
- App entry → App shell: starts
- App shell → Sign in: routes to
- App shell → Student home: routes to
- Student home → Browse menu: opens
- Browse menu → Menu state: uses state
- Student home → Cart checkout: opens
- Cart checkout → Cart state: uses state
- Cart checkout → Order state: places order
- Student home → Student orders: opens
- Student orders → Order state: uses state
- Sign in → Auth state: uses state
- Auth state → Authentication service: delegates to
- Authentication service → Firebase: authenticates
- Menu state → Firestore service: loads menu
- Order state → Firestore service: accesses orders
- Staff home → Manage menu: opens
- Staff home → Manage orders: opens
- Manage menu → Menu state: uses state
- Manage orders → Order state: uses state
- Firestore service → Firebase: reads and writes
- Windows window → Flutter view host: hosts view
windows/runner/flutter_window.cpp - Flutter view host → Plugin registration: registers
windows/runner/flutter_window.cpp - Plugin registration → Plugin declaration: implements
windows/flutter/generated_plugin_registrant.cc