This commit is contained in:
Hamza-Ayed
2023-10-18 01:34:30 +03:00
parent a321b993ec
commit b0e842e53b
13 changed files with 255 additions and 181 deletions

View File

@@ -0,0 +1,27 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:ride/controller/home/captin/map_driver_controller.dart';
import 'package:ride/views/widgets/my_scafold.dart';
import '../../../../controller/functions/location_controller.dart';
import 'driver_end_ride_bar.dart';
import 'google_driver_map_page.dart';
import 'passenger_info_window.dart';
class PassengerLocationMapPage extends StatelessWidget {
PassengerLocationMapPage({super.key});
final LocationController locationController = Get.put(LocationController());
@override
Widget build(BuildContext context) {
Get.put(MapDriverController());
return MyScafolld(
title: 'Map'.tr,
body: [
GoogleDriverMap(locationController: locationController),
const PassengerInfoWindow(),
driverEndRideBar()
],
isleading: true);
}
}