How nurulishlah/canteen_go works
canteen_go is a Flutter application scaffold with menu, cart, and order screens; the README does not document product behavior or backend integrations. The likely user journey is browsing the menu, managing a cart, and viewing orders, but the sampled Dart sources do not establish how those screens are wired, so those relationships are shown as unverified. Network and local-storage modules are present, but their consumers and data flow are likewise unknown. Platform runner components host Flutter on desktop; they are included as runtime shells, not build tooling.
Main entry points: main.dart App entry · bootstrap.dart App bootstrap · app.dart App shell · menu_screen.dart Menu screen
Components 20
Flutter application
- App entry
lib/main.dart - App bootstrap
lib/src/bootstrap.dart - App shell
lib/src/app/app.dart - Navigation
lib/src/app/router.dart - HTTP client
lib/src/core/network/dio_client.dart - Local storage
lib/src/core/storage/local_store.dart
Menu experience
- Menu screen
lib/src/features/menu/presentation/screens/menu_screen.dart - Menu grid
lib/src/features/menu/presentation/widgets/menu_grid.dart - Menu card
lib/src/features/menu/presentation/widgets/menu_card.dart - Menu item model
lib/src/features/menu/domain/models/menu_item.dart
Ordering
- Cart screen
lib/src/features/cart/presentation/screens/cart_screen.dart - Orders screen
lib/src/features/orders/presentation/screens/orders_screen.dart
Desktop hosts
- Linux host
linux/runner/my_application.h - Linux plugin registry
linux/flutter/generated_plugin_registrant.h - macOS plugin registry
macos/Flutter/GeneratedPluginRegistrant.swift - Windows Flutter host
windows/runner/flutter_window.h - Windows window
windows/runner/win32_window.h - Window implementation
windows/runner/win32_window.cpp - Windows plugin registry
windows/flutter/generated_plugin_registrant.h
Other components
- Canteen user
Connections 13
- Canteen user → App entry: launches
- App entry → App bootstrap: starts
- App bootstrap → App shell: initializes
- App shell → Navigation: uses navigation
- Canteen user → Menu screen: browses
- Menu screen → Menu grid: renders
- Menu grid → Menu card: renders
- Menu card → Menu item model: displays
- Canteen user → Cart screen: manages cart
- Canteen user → Orders screen: views orders
- Linux host → Linux plugin registry: registers plugins
linux/runner/my_application.cc - Windows Flutter host → Windows window: inherits window
windows/runner/flutter_window.h - Window implementation → Windows window: implements
windows/runner/win32_window.cpp