How setsuna25th3/mobile works
This is a Flutter product-management and ordering app, inferred from its user and admin screens, product/order models, and separate admin entry point. The apparent user journey spans authentication, browsing products, cart, and order history; the admin area covers authentication, product management, and order management. The README documents only a Chrome launch command and sample credentials. With no source excerpts or documented interactions, the graph identifies the runtime areas but omits unverified call and data-flow edges.
Components 24
App entry
- User entry point
lib/main.dart - Admin entry point
lib/main_admin.dart
Customer app
- User authentication
lib/screens/user/auth_screen.dart - Product browsing
lib/screens/user/home_screen.dart - Product details
lib/screens/user/detail_screen.dart - Shopping cart
lib/screens/user/cart_screen.dart - Order history
lib/screens/user/order_history_screen.dart - Verification
lib/screens/user/page_verify.dart - User profile
lib/screens/user/profile_screen.dart
Admin app
- Admin authentication
lib/screens/admin/admin_auth_screen.dart - Admin dashboard
lib/screens/admin/admin_dashboard.dart - Product management
lib/screens/admin/product_management.dart - Add product
lib/screens/admin/add_product_page.dart - Edit product
lib/screens/admin/edit_product_page.dart - Order management
lib/screens/admin/order_management.dart
Domain and services
- Product controller
lib/controllers/product_controller.dart - Product model
lib/models/product.dart - Recipient model
lib/models/nguoi_nhan.dart - Product repository
lib/models/product_repository.dart - Supabase service
lib/services/supabase_service.dart - Auth storage
lib/utils/auth_storage.dart - Configuration
lib/config.dart
Other components
- Customer
- Administrator