No description
Client-side implementation: - New service: order_polling_service.dart - Timer-based polling every 30s - Updated AppState: track active order ID and current status - Cart integration: start polling after order submission - In-app notifications: color-coded SnackBar for status changes - Notification widget: animated banner (created for future use) Status notification colors: - Blue = Submitted (1) - Orange = Preparing (2) - Green = Ready (3) - Purple = Completed (4) Polling workflow: 1. User submits order → polling starts with status=1 2. Every 30s: check backend for status changes 3. On update: show notification + update AppState 4. Continues until order completed or app closed Simple polling approach (Option 2) with planned migration to self-hosted WebSocket push for instant updates. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| android | ||
| ios | ||
| lib | ||
| linux | ||
| macos | ||
| test | ||
| web | ||
| .gitignore | ||
| .metadata | ||
| analysis_options.yaml | ||
| pubspec.lock | ||
| pubspec.yaml | ||
| README.md | ||
payfrit_app
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.