How evan361425/flutter-pos-system works
POS System is an offline-oriented Flutter point-of-sale app for small restaurants and businesses. The principal workflow is managing products and ingredients, assembling and checking out orders, handling cash, and optionally printing receipts; the app also provides inventory management, analytics, and data transit for export and backup. The graph preserves these README-documented capabilities and groups their likely implementation areas by repository paths. Source excerpts cover only platform shells, not Dart runtime wiring, so most internal connections are shown as unverified dashed relationships rather than asserted calls.
Main entry points: repository Domain repositories · order Order and cart · home Home and settings · order_checkout_page.dart Checkout
Components 17
App and settings
- Flutter app
lib/main.dart - Home and settings
lib/ui/home
Sales workflow
- Menu management
lib/ui/menu - Order and cart
lib/ui/order - Checkout
lib/ui/order/order_checkout_page.dart - Cash register
lib/ui/cashier - Printer setup
lib/ui/printer
Business operations
- Inventory and replenishment
lib/ui/stock - Customer attributes
lib/ui/order_attr - Analytics and history
lib/ui/analysis - Import and export
lib/ui/transit
Data and integrations
- Domain models
lib/models - Domain repositories
lib/models/repository - Local database
lib/services/database.dart - Bluetooth printing
lib/services/bluetooth.dart
Other components
- Staff user
- External data destination
Connections 17
- Staff user → Flutter app: uses
- Flutter app → Home and settings: opens
- Home and settings → Menu management: navigates
- Home and settings → Order and cart: navigates
- Order and cart → Checkout: checks out
- Checkout → Cash register: handles payment
- Checkout → Printer setup: prints receipt
- Printer setup → Bluetooth printing: configures
- Bluetooth printing → Staff user: prints receipt
- Menu management → Domain repositories: uses
- Order and cart → Domain repositories: uses
- Inventory and replenishment → Domain repositories: uses
- Analytics and history → Domain repositories: uses
- Domain repositories → Local database: persists data
- Domain repositories → Domain models: uses
- Customer attributes → Order and cart: captures attributes
- Import and export → External data destination: exports data