Enhance delivery list UI with sequential order badges and improve scrolling performance with faster animations for better user experience. Delivery Order Badge: - Add 60x60px status-colored square badge showing delivery sequence number - Position badge to the left of vertical status bar for clear visual hierarchy - White text (26px, bold) centered in badge - Automatically displays deliveryIndex + 1 (first delivery = 1, second = 2, etc.) - Status color matches delivery state (green for completed, gray for pending, etc.) - 10px border radius for modern appearance Layout Enhancements: - Sidebar expanded from 360px to 420px to accommodate order badges - Vertical centering of row elements for better visual balance - Maintains optimized spacing: badge (60px) + gap (12px) + bar (6px) + gap (16px) + content - Full list scrolling restored (removed 4-item limit) Animation Performance: - Stagger animation delay reduced by 90% (50ms to 5ms) - Fast stagger: 30ms to 3ms for ultra-responsive scrolling - Delivery items appear almost instantly when scrolling - Total animation time for 20 items: 500ms to 100ms - Maintains subtle stagger effect while feeling immediate User Experience Improvements: - Clear visual indication of delivery order in route - Faster perceived loading when scrolling through deliveries - Better readability with larger, prominent order numbers - Consistent status color coding across badge and accent bar Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| android | ||
| assets/fonts | ||
| ios | ||
| lib | ||
| macos | ||
| test | ||
| web | ||
| .gitignore | ||
| .metadata | ||
| analysis_options.yaml | ||
| CHECKLIST.md | ||
| CLAUDE.md | ||
| GOOGLE_MAPS_SETUP.md | ||
| GOOGLE_NAVIGATION_SETUP.md | ||
| IMPLEMENTATION_SUMMARY.md | ||
| l10n.yaml | ||
| pubspec.lock | ||
| pubspec.yaml | ||
| README.md | ||
| UI_UX_IMPROVEMENTS.md | ||
Plan B Logistics - Flutter Mobile App
A complete Flutter/Dart refactoring of the Plan B Logistics delivery management system. Built with Material Design 3, Svrnty brand colors, and CQRS architecture for type-safe API integration.
Overview
This is a mobile delivery management application for logistics personnel to:
- View assigned delivery routes with progress tracking
- Manage individual deliveries (complete, uncomplete, skip)
- Capture photos as delivery proof
- Call customers and navigate to delivery addresses
- Manage app settings and language preferences
- Secure authentication via OAuth2/OIDC with Keycloak
Built with:
- Flutter 3.9+ / Dart 3.9.2+
- Material Design 3 with Svrnty theming (Crimson & Slate Blue)
- Riverpod for state management
- CQRS pattern with Result error handling
- Strict typing (no
dynamic)
Quick Start
Prerequisites
- Flutter SDK 3.9.2+: Install Flutter
- Dart SDK 3.9.2+ (included with Flutter)
Setup
cd ionic-planb-logistic-app-flutter
flutter pub get
Run
flutter run # Android/iOS default device
flutter run -d chrome # Web
flutter run -d ios # iOS simulator
flutter run -d android # Android emulator
Project Structure
lib/
├── api/ # CQRS client & types
├── models/ # Data models
├── services/ # Auth service
├── providers/ # Riverpod state
├── pages/ # Login, Routes, Deliveries, Settings
├── l10n/ # Translations (EN/FR)
├── theme.dart # Svrnty Material Design 3
└── main.dart # Entry point
Key Features
- OAuth2/OIDC Authentication with Keycloak
- CQRS API Integration with Result error handling
- Riverpod State Management for reactive UI
- Internationalization (English & French)
- Material Design 3 with Svrnty brand colors
- Native Features: Camera, Phone calls, Maps
- Strict Typing: No
dynamictype allowed
Development
See CLAUDE.md for:
- Detailed architecture & patterns
- Code standards & conventions
- API integration examples
- Development workflow
Build Commands
flutter build web --release # Web
flutter build ios --release # iOS
flutter build appbundle --release # Android (Play Store)
Documentation
- CLAUDE.md - Complete development guidelines
- pubspec.yaml - Dependencies and configuration
- Flutter Docs - Official documentation
Version
1.0.0+1
Svrnty Edition