How sgjgit/shopping works
This is a Flutter shopping-list app. The likely user workflow is to add products and view a cart, using page controllers, a shopping-cart model, and a repository; the tree supports these responsibilities but the Dart implementation was not excerpted, so their interactions are left unverified. Platform runner and plugin-registration components are included where the source index shows their runtime role. The README documents no further product capabilities.
Main entry points: flutter_window.h Flutter window · AppDelegate.swift iOS host · my_application.cc Linux host · main.cpp Windows entry
Components 18
Shopping UI
- App entry
lib/main.dart - Add product page
lib/VIEW/add_product_page.dart - Cart page
lib/VIEW/cart_page.dart - Route configuration
lib/CONSTANTS/routes.dart
Cart State
- Add controller
lib/VIEW MODEL/add_product_controller.dart - Cart controller
lib/VIEW MODEL/cart_page_controller.dart - Cart model
lib/Model/shopping_cart_model.dart - Cart repository
lib/REPOSITORY/cart_repo.dart
Platform Hosts
- Android host
android/app/src/main/kotlin/com/example/shopping/MainActivity.kt - iOS host
ios/Runner/AppDelegate.swift - Linux host
linux/my_application.cc - Linux plugin registration
linux/flutter/generated_plugin_registrant.cc - macOS plugin registration
macos/Flutter/GeneratedPluginRegistrant.swift - Windows entry
windows/runner/main.cpp - Flutter window
windows/runner/flutter_window.h - Win32 window
windows/runner/win32_window.h - Windows plugin registration
windows/flutter/generated_plugin_registrant.h
Other components
- Shopper
Connections 6
- Shopper → Add product page: uses
- Shopper → Cart page: views
- Windows entry → Flutter window: creates
windows/runner/main.cpp - Flutter window → Win32 window: inherits
windows/runner/flutter_window.h - Linux host → Linux plugin registration: registers plugins
linux/my_application.cc - iOS host → macOS plugin registration: registers plugins
ios/Runner/AppDelegate.swift