How arshad-dev57/pos_mobile_app works
This is a Flutter point-of-sale mobile app, inferred from the repository name and its screens and services; the README itself describes only a starter Flutter project. The apparent user journey is authentication and company selection, followed by shift and sales operations, with screens for inventory, customers, returns, and reporting. The Dart implementation was not sampled, so those stages and their connections are inferred from filenames; no call or data-flow edges can be verified from the available evidence.
Main entry points: login_screen.dart Login · company_select_screen.dart Company selection · open_shif_screen.dart Shift opening · main.dart App entry
Components 33
POS screens
- Login
lib/screens/login_screen.dart - Company selection
lib/screens/company_select_screen.dart - Shift opening
lib/screens/open_shif_screen.dart - POS home
lib/screens/pos_homepage_screen.dart - Sell
lib/screens/sell_screen.dart - Held sales
lib/screens/held_screen.dart - Sales
lib/screens/sales_screen.dart - Returns
lib/screens/returns_screen.dart - Products
lib/screens/products_screen.dart - Stock
lib/screens/stock_screen.dart - Categories
lib/screens/categories_screen.dart - Expiry
lib/screens/expiry_screen.dart - Customers
lib/screens/customers_screen.dart - Suppliers
lib/screens/suppliers_screen.dart - Accounts
lib/screens/accounts_screen.dart - Reports
lib/screens/reports_screen.dart - Settings
lib/screens/settings_screen.dart - Restaurant
lib/screens/restaurant_screen.dart - POS administration
lib/screens/pos_admin_screen.dart
App operations
- App entry
lib/main.dart - Auth controller
lib/controllers/auth_controller.dart - Shift controller
lib/controllers/shift_controller.dart - Auth models
lib/models/auth_models.dart - App configuration
lib/core/config/app_config.dart
Backend integration
- Backend API
lib/services/backend_api_service.dart - POS API
lib/services/pos_api_service.dart - POS data service
lib/services/pos_data_service.dart - Master sync
lib/services/master_sync_service.dart - API client
lib/core/network/api_client.dart
Local persistence
- Auth storage
lib/core/storage/auth_store.dart - Local database
lib/core/database/local_db.dart - Master SQLite database
lib/core/database/master_sqlite_db.dart
Other components
- POS user
Connections 5
- POS user → App entry: starts app
- App entry → Login: opens
- Login → Company selection: selects company
- Company selection → Shift opening: opens shift
- Shift opening → POS home: enters POS