How frave07/flutter-delivery-app works
Frave Food is a Flutter food-delivery app with client, administrator, and courier workflows. The main client journey is browsing products, building a cart, choosing an address and payment method, and tracking an order; separate screens support account access, administration, and delivery fulfillment. The tree shows corresponding BLoC, service, and screen areas, while the README names maps, push notifications, and a Node.js backend. Dart sources were not excerpted, so runtime connections beyond documented capabilities remain unverified.
Main entry points: client Client screens · orders_services.dart Order services · products_services.dart Product services · delivery Delivery screens
Components 19
Client ordering
- Client screens
lib/presentation/screens/client - Login and registration
lib/presentation/screens/login - Payment flow
lib/presentation/screens/client/select_payment_screen.dart
Admin and courier
- Delivery screens
lib/presentation/screens/delivery - Admin screens
lib/presentation/screens/admin
State and services
- Cart state
lib/domain/bloc/cart/cart_bloc.dart - Product state
lib/domain/bloc/products/products_bloc.dart - Auth state
lib/domain/bloc/auth/auth_bloc.dart - User services
lib/domain/services/user_services.dart - Product services
lib/domain/services/products_services.dart - Order services
lib/domain/services/orders_services.dart - Payment state
lib/domain/bloc/payments/payments_bloc.dart - Delivery state
lib/domain/bloc/delivery/delivery_bloc.dart - Map services
lib/domain/services/map_box_services.dart - Map state
lib/domain/bloc/map_client/mapclient_bloc.dart
External integrations
- Node.js backend
- Google Maps and Mapbox
- Firebase messaging
Other components
- Customer
Connections 22
- Customer → Client screens: uses
- Customer → Login and registration: signs in
- Client screens → Product state: browses
- Client screens → Cart state: adds items
- Client screens → Payment flow: checks out
- Client screens → Order services: tracks orders
- Login and registration → Auth state: dispatches
- Auth state → User services: uses
- Product state → Product services: loads products
- Payment flow → Payment state: dispatches
- Payment state → Order services: submits order
- Admin screens → Product services: manages catalog
- Admin screens → Order services: manages orders
- Delivery screens → Delivery state: dispatches
- Delivery screens → Order services: fulfills orders
- Client screens → Map state: shows location
- Map state → Map services: uses
- Map services → Google Maps and Mapbox: requests maps
- User services → Node.js backend: communicates
- Product services → Node.js backend: communicates
- Order services → Node.js backend: communicates
- Firebase messaging → Customer: sends notifications