How ayyanarsripath-svg/pro_app works
This is an offline-first Flutter business manager for a mobile/laptop repair and second-hand phone shop. The documented user journey starts with first-run admin setup and PIN access, then uses the app to manage customers, repair jobs, inventory, sales, purchases and expenses; owners can review profit and loss and create local or optional Google Drive backups. The README establishes these capabilities and a few user-facing relationships, but no source excerpts were provided, so internal calls and data flows are not asserted.
Main entry points: app_access_gate_screen.dart Access gate · pin_login_screen.dart PIN login · app_shell.dart App navigation · backup_service.dart Backup and restore
Components 20
Access and navigation
- Access gate
lib/screens/auth/app_access_gate_screen.dart - Admin setup
lib/screens/auth/first_run_setup_screen.dart - PIN login
lib/screens/auth/pin_login_screen.dart - App navigation
lib/screens/shell/app_shell.dart - Business dashboard
lib/screens/dashboard/dashboard_screen.dart - Staff permissions
lib/screens/settings/staff_screen.dart - Business settings
lib/screens/settings/settings_screen.dart
Shop operations
- Customer records
lib/screens/customers/customer_list_screen.dart - Repair jobs
lib/screens/services/service_form_screen.dart - Parts and accessories
lib/screens/inventory/spare_parts_screen.dart - Sales billing
lib/screens/sales/sales_bill_form_screen.dart - Used phone trade
lib/screens/second_hand/second_hand_purchase_form_screen.dart - Supplier purchases
lib/screens/suppliers/purchase_form_screen.dart
Finance and records
- Expenses
lib/screens/expenses/expense_screen.dart - Profit and loss
lib/screens/pnl/pnl_dashboard_screen.dart
Local and external services
- Offline SQLite
lib/core/db/database_helper.dart - Backup and restore
lib/core/services/backup_service.dart - Google Drive
- A5 bill printing
lib/core/services/pdf_service.dart
Other components
- Shop staff
Connections 17
- Shop staff → Access gate: opens app
README.md - Access gate → Admin setup: first-run setup
README.md - Shop staff → PIN login: enters PIN
README.md - PIN login → App navigation: grants access
README.md - App navigation → Business dashboard: opens dashboard
README.md - Shop staff → Repair jobs: manages job cards
README.md - Shop staff → Customer records: manages customers
README.md - Shop staff → Parts and accessories: manages stock
README.md - Shop staff → Sales billing: creates bills
README.md - Shop staff → Used phone trade: trades phones
README.md - Shop staff → Supplier purchases: records purchases
README.md - Shop staff → Expenses: records expenses
README.md - Shop staff → Profit and loss: reviews results
README.md - Shop staff → Staff permissions: sets permissions
README.md - Shop staff → A5 bill printing: prints bills
README.md - Shop staff → Backup and restore: starts backup
README.md - Backup and restore → Google Drive: backs up optionally
README.md