How raguraman6066/gas_agency_pos works
BlueFlame is a Flutter gas-agency management app. Its principal workflow is staff sign-in, then managing agency operations—customers, products, bookings, deliveries, inventory and manually recorded payments—with dashboard and reports providing oversight. State and data access are separated from presentation through Riverpod and a shared repository contract, with in-memory demo and Supabase implementations. The README documents the feature set and repository arrangement; sampled source does not cover the Dart runtime, so uncertain call-level connections are omitted or marked unverified.
Main entry points: operations_screen.dart Operations workflows · providers.dart State and operations · app_shell.dart App shell · bookings_screen.dart Bookings
Components 24
App and access
- Flutter app entry
lib/main.dart - App shell
lib/core/presentation/app_shell.dart - Sign-in
lib/core/presentation/login_screen.dart
Agency operations
- Customers
lib/features/customers/presentation/customers_screen.dart - Products
lib/features/settings/presentation/products_screen.dart - Bookings
lib/features/bookings/presentation/bookings_screen.dart - Booking entry
lib/features/bookings/presentation/booking_form_screen.dart - Booking detail
lib/features/bookings/presentation/booking_detail_screen.dart - Deliveries
lib/features/deliveries/presentation/deliveries_screen.dart - Cylinder stock
lib/features/inventory/presentation/inventory_screen.dart - Payments
lib/features/payments/presentation/payments_screen.dart - Payment entry
lib/features/payments/presentation/payment_entry_screen.dart - Staff profiles
lib/features/settings/presentation/staff_screen.dart - Agency settings
lib/features/settings/presentation/settings_screen.dart - Operations workflows
lib/features/operations/presentation/operations_screen.dart
Business oversight
State and data
- Domain models
lib/core/domain/models.dart - State and operations
lib/core/providers.dart - Repository contract
lib/core/data/agency_repository.dart - Demo data
lib/core/data/dummy_agency_repository.dart - Supabase data access
lib/core/data/supabase_agency_repository.dart - Supabase database
supabase/migrations
Other components
- Agency staff
Connections 25
- Agency staff → Sign-in: signs in
README.md - Agency staff → App shell: uses
- Sign-in → App shell: enters
- Flutter app entry → App shell: starts
- App shell → Operations workflows: offers workflows
- Operations workflows → Customers: supports
README.md - Operations workflows → Products: supports
README.md - Operations workflows → Bookings: supports
README.md - Operations workflows → Deliveries: supports
README.md - Operations workflows → Cylinder stock: supports
README.md - Operations workflows → Payments: supports
README.md - Operations workflows → Reports: supports
README.md - Operations workflows → Staff profiles: supports
README.md - Bookings → Booking entry: offers entry
- Bookings → Booking detail: offers details
- Payments → Payment entry: offers entry
- State and operations → Repository contract: uses contract
- Repository contract → Demo data: implemented by
README.md - Repository contract → Supabase data access: implemented by
README.md - Supabase data access → Supabase database: reads and writes
README.md - State and operations → Domain models: manages state
- Supabase data access → Domain models: uses models
- Demo data → Domain models: uses models
- Dashboard → State and operations: reads state
- Reports → State and operations: reads state