How prakashdk/scan-go-client works
This is a Flutter client whose feature directories suggest a scan-and-shop workflow: users authenticate, scan a store item, manage a cart, and view orders or bills. The README is only a Flutter starter template, and no Dart application source was excerpted, so feature relationships and backend behavior cannot be verified; those links are shown as unverified. The sampled native files describe desktop launch/window hosting and plugin registration, not the shopping workflow.
Main entry points: home Home shell · router.dart Navigation · main.dart App entry · cart Cart management
Components 22
Shopping client
- App entry
lib/main.dart - Navigation
lib/core/utils/router.dart - Account access
lib/features/auth - Home shell
lib/features/home - Store scanning
lib/features/scan/scan_store_page.dart - Cart management
lib/features/cart - Cart bill
lib/features/cart/cart_bill_page.dart - Order history
lib/features/orders/orders_page.dart - Order bill
lib/features/orders/order_bill_page.dart
Client services
- API client
lib/core/api/api_client.dart - API service
lib/core/api/api_service.dart - Domain models
lib/core/models/models.dart
Platform shells
- Windows launcher
windows/runner/main.cpp - Flutter window host
windows/runner/flutter_window.h - Windows window
windows/runner/win32_window.cpp - Linux launcher
linux/runner/main.cc - Linux application
linux/runner/my_application.h - macOS plugins
macos/Flutter/GeneratedPluginRegistrant.swift - Linux plugins
linux/flutter/generated_plugin_registrant.h - Windows plugins
windows/flutter/generated_plugin_registrant.h
Other components
- Shopper
- Remote service
Connections 15
- Shopper → App entry: starts app
- App entry → Navigation: uses routes
- Navigation → Account access: routes to
- Navigation → Home shell: routes to
- Home shell → Store scanning: offers scanning
- Home shell → Cart management: offers cart
- Home shell → Order history: offers orders
- Cart management → Cart bill: shows bill
- Order history → Order bill: shows bill
- API client → API service: provides requests
- API service → Remote service: calls
- Windows launcher → Flutter window host: creates
windows/runner/main.cpp - Flutter window host → Windows window: extends
windows/runner/flutter_window.h - Linux launcher → Linux application: creates
linux/runner/main.cc - macOS plugins → Remote service: registers plugins