Driver App – Feature-Based Task List
1️⃣ Authentication (Login / Signup / OTP / Forgot
Password)
Task: Implement Login & Signup
Subtask: Design UI (login + signup)
Subtask: Validate input fields (email/phone/password)
Subtask: Connect UI → AuthCubit
Subtask: Integrate backend authentication
Subtask: Handle loading & error states
Task: OTP Verification
Subtask: Design OTP screen
Subtask: Add countdown + resend logic
Subtask: Connect with AuthCubit for OTP flow
Task: Forgot Password
Subtask: Design forgot password screen
Subtask: Implement reset logic
Subtask: Integrate with backend
2️⃣ Work Modes (Delivery / Ride)
Task: Work Mode Selection Screen
Subtask: Design UI for selecting mode (Delivery / Taxi / Motorcycle)
Subtask: Connect selection to ModeCubit
Subtask: Persist mode locally (Hive or SharedPreferences)
Task: Online/Offline Toggle
Subtask: Design UI (status toggle)
Subtask: Integrate with backend for availability status
Subtask: Connect to ModeCubit
3️⃣ Order & Ride Management
Task: Incoming Order Request
Subtask: Design pop-up card showing pickup, drop-off, fare, ETA
Subtask: Connect UI → OrderCubit
Subtask: Handle accept/decline logic
Subtask: Show sound + vibration notification
Task: Active Order / Ride Flow
Subtask: Design order-tracking UI (map, status steps, OTP input)
Subtask: Integrate map + live location
Subtask: Add OTP verification for delivery/ride start
Subtask: Update order status via OrderCubit (accepted → started → completed)
Task: Trip History
Subtask: Design trip/order history screen
Subtask: Fetch data from backend
Subtask: Add filters (by type, date, status)
Subtask: Handle empty state
4️⃣ Earnings System
Task: Earnings Overview
Subtask: Design UI (total earnings, bonuses, daily/weekly summary)
Subtask: Calculate driver net:
Driver Net = (Trip Fare – Platform Fee) – Fuel Cost
Fuel Cost = Distance × Vehicle Rate × Driver Level Coefficient
Subtask: Implement EarningsCubit for fetching and computing data
Subtask: Handle loading & error states
Task: Performance Bonuses
Subtask: Add logic to track driver rating, cancellations, completed jobs
Subtask: Update bonuses accordingly in EarningsCubit
5️⃣ Driver Levels
Task: Level Progress Screen
Subtask: Design UI showing level, XP bar, bonuses
Subtask: Connect with LevelCubit
Subtask: Logic to calculate level from performance metrics
Subtask: Adjust driver coefficients based on level
6️⃣ Wallet System
Task: Wallet Overview
Subtask: Design wallet screen (🔵 Blue Coins, 🟢 Green Coins)
Subtask: Fetch wallet data via WalletCubit
Subtask: Add transaction history view
Task: Withdraw Flow
Subtask: Design withdrawal request screen
Subtask: Validate wish money ...
Subtask: Handle withdrawal logic & admin approval flow
Task: Coin Conversion
Subtask: Implement logic to convert Blue → Green Coins after 48h
Subtask: Show countdown or pending badge
7️⃣ Ratings & Performance
Task: Rating & Feedback Screen
Subtask: Design post-trip rating UI
Subtask: Allow driver to see average rating
Subtask: Connect with RatingCubit
Subtask: Update backend with new ratings
8️⃣ Notifications
Task: Notifications List
Subtask: Design notification center UI
Subtask: Integrate push notifications (FCM)
Subtask: Manage state via NotificationCubit
9️⃣ Map & Navigation
Task: Map Integration
Subtask: Implement Google Maps widget
Subtask: Show driver’s real-time location
Subtask: Draw route for delivery/ride
Subtask: Connect with MapCubit
🔟 Settings & Profile
Task: Profile Screen
Subtask: Design UI (avatar, name, phone, vehicle info)
Subtask: Implement edit profile
Subtask: Connect UI → ProfileCubit
Subtask: Update profile in backend
Task: Settings Screen
Subtask: Add preferences (dark mode, language, notifications)
Subtask: Handle logout flow