How oakar-kyaw/mobile-ecommerce works
This is a Flutter e-commerce client. Its apparent user journey spans browsing products and brands, viewing product details, managing favorites and a cart, checking out with shipping and payment information, and reviewing orders; account, messaging, notifications, and settings are additional capabilities indicated by the source tree. The Dart implementation was not excerpted and the README is generic, so these stages are inferred from filenames. Dashed, unevidenced links show only likely navigation or coordination, not verified calls.
Main entry points: product-detail.page.dart Product detail · home.page.dart Home · checkout.page.dart Checkout · main.dart App entry
Components 25
Discovery
- Home
lib/src/home.page.dart - Categories
lib/src/categories.page.dart - Brands
lib/src/brand.page.dart - Brand detail
lib/src/brand-detail.page.dart - Trending items
lib/src/trending-and-new-arrival-item.page.dart - Product detail
lib/src/product-detail.page.dart - Search UI
lib/components/search-input.dart
Shopping
- Cart
lib/src/cart.page.dart - Checkout
lib/src/checkout.page.dart - Shipping info
lib/src/shipping-info.page.dart - Order history
lib/src/order-history.page.dart - Order detail
lib/src/order-detail.page.dart - Favorites
lib/src/favorite.page.dart
Account
- Login and signup
lib/src/login.dart - Signup
lib/src/sign-up.page.dart - Personal settings
lib/src/personal-setting.dart - Chat
lib/src/chat.page.dart - Notifications
lib/src/notification.page.dart
App structure
- App entry
lib/main.dart - Navigation routes
lib/src/app-route.dart - Route generator
lib/src/route-generator.dart - Backend API clients
lib/api - App state providers
lib/riverpod - Response models
lib/response
Other components
- Shopper
Connections 22
- Shopper → App entry: opens app
- App entry → Navigation routes: likely configures
- Navigation routes → Route generator: likely dispatches
- Route generator → Home: likely routes
- Home → Categories: likely navigates
- Home → Brands: likely navigates
- Home → Trending items: likely displays
- Brands → Brand detail: likely opens
- Categories → Product detail: likely opens
- Trending items → Product detail: likely opens
- Search UI → Categories: likely filters
- Product detail → Cart: likely adds items
- Product detail → Favorites: likely saves
- Cart → Checkout: likely proceeds
- Checkout → Shipping info: likely collects
- Checkout → Order history: likely places order
- Order history → Order detail: likely opens
- Login and signup → Signup: likely offers signup
- App entry → App state providers: likely initializes
- Product detail → Backend API clients: likely requests data
- Checkout → Backend API clients: likely sends order
- Backend API clients → Response models: likely parses responses