How chhengz/elextroshop-app works
Electro Shop is a Flutter e-commerce app. The main user journey runs from app launch and routed screens through product discovery, cart and checkout, payment, and order history; authentication, wishlist, profile data, and API configuration are supporting capabilities. The README documents these workflows, but the Dart implementation was not sampled, so relationships below reflect documented behavior rather than inspected call sites.
Main entry points: pages_route.dart Route Table · payment_page.dart Payment Flow · home_page.dart Catalog And Search · product_detail_page.dart Product Details
Components 18
App Shell
- App Entry
lib/main.dart - Route Table
lib/routes/pages_route.dart - API Console
lib/screens/pages/developer_api_page.dart - API Configuration
lib/config/app_config.dart
Shopping
- Catalog And Search
lib/screens/pages/home_page.dart - Product Details
lib/screens/pages/product_detail_page.dart - Product Data
lib/services/product_service.dart - Wishlist
lib/services/wishlist_service.dart
Checkout And Orders
- Cart
lib/screens/pages/cart_page.dart - Shipping Address
lib/screens/pages/address_page.dart - Payment Flow
lib/screens/pages/payment_page.dart - Order History
lib/screens/pages/my_orders_page.dart - Order Service
lib/services/order_service.dart
Account And Services
- Login And Register
lib/screens/auth/login_page.dart - Authentication
lib/services/auth_service.dart - Profile And Preferences
lib/services/user_data_service.dart
Other components
- Shopper
- Backend API
Connections 25
- Shopper → App Entry: opens
README.md - App Entry → Route Table: starts routing
README.md - Route Table → Login And Register: routes to
README.md - Route Table → Catalog And Search: routes to
README.md - Route Table → Product Details: routes to
README.md - Route Table → Cart: routes to
README.md - Route Table → Shipping Address: routes to
README.md - Route Table → Payment Flow: routes to
README.md - Route Table → Order History: routes to
README.md - Route Table → API Console: routes to
README.md - Login And Register → Authentication: authenticates
README.md - Catalog And Search → Product Data: fetches catalog
README.md - Catalog And Search → Product Details: opens products
README.md - Product Details → Cart: adds items
README.md - Cart → Shipping Address: continues checkout
README.md - Shipping Address → Payment Flow: continues checkout
README.md - Payment Flow → Order Service: places order
README.md - Order History → Order Service: fetches history
README.md - Payment Flow → Backend API: checks approval
README.md - Shopper → Wishlist: toggles favorites
README.md - Shopper → Profile And Preferences: saves preferences
README.md - API Console → API Configuration: sets API URL
README.md - Authentication → Backend API: uses API
README.md - Product Data → Backend API: uses API
README.md - Order Service → Backend API: uses API
README.md