Update: 2026-08-07 19:01:00
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user