How hossam-yaser/store-app works
Store App is a Flutter shopping app whose main user workflow is browsing and searching API-backed products, viewing product details, and managing a cart with a dynamically updated total. The graph also preserves the documented category browsing and navigation capabilities. Source excerpts were unavailable, so internal call paths and the wiring of individual services and widgets cannot be verified; those relationships are omitted rather than inferred.
Main entry points: screens Shopping screens · main.dart App entry · cart Cart widgets · allproducts_service.dart Product service
Components 15
App and navigation
- App entry
lib/main.dart - Shopping screens
lib/screens
Product catalog
- Catalog widgets
lib/widgets - Product model
lib/models/product_model.dart - Local products
lib/helper/locallistofproducts.dart
Cart
- Cart widgets
lib/widgets/cart - Cart state helper
lib/helper/locallistofproducts.dart
API services
- API helper
lib/helper/api.dart - Product service
lib/services/get/allproducts_service.dart - Category service
lib/services/get/allcategories_services.dart - Category products
lib/services/get/category_products_services.dart - Add product service
lib/services/post/add_product_service.dart - Update product service
lib/services/put/update_product_service.dart
Other components
- Shopper
- Product API
Connections 12
- Shopper → App entry: uses
README.md - Shopper → Shopping screens: browses
README.md - Shopper → Cart widgets: manages cart
README.md - App entry → Shopping screens: navigates
README.md - Shopping screens → Catalog widgets: browses products
README.md - Shopping screens → Product service: fetches products
- Shopping screens → Category service: browses categories
- Shopping screens → Category products: searches categories
- Product service → Product API: fetches products
- Category service → Product API: fetches categories
- Category products → Product API: fetches products
- Cart widgets → Cart state helper: updates cart