Update: 2026-08-07 19:01:00

This commit is contained in:
Hamza-Ayed
2026-08-07 19:01:00 +03:00
parent cdd36d4777
commit 0db59647eb
31 changed files with 1974 additions and 2 deletions
@@ -29,6 +29,7 @@ import '../../../../constant/colors.dart';
import '../About Us/video_page.dart';
import '../../../food_delivery/food_delivery_home_page.dart';
import '../../journal/driver_scheduled_rides_page.dart';
import '../../journal/driver_insurance_page.dart';
// 1. إنشاء Class لتعريف بيانات كل عنصر في القائمة
class DrawerItem {
@@ -87,6 +88,11 @@ class AppDrawer extends StatelessWidget {
icon: Icons.edit_calendar_rounded,
color: Colors.orangeAccent,
onTap: () => Get.to(() => const DriverScheduledRidesPage())),
DrawerItem(
title: 'Insurance'.tr,
icon: Icons.health_and_safety_rounded,
color: Colors.indigo,
onTap: () => Get.to(() => const DriverInsurancePage())),
DrawerItem(
title: 'Leaderboard'.tr,
icon: Icons.leaderboard_rounded,