4/3/2
This commit is contained in:
@@ -16,12 +16,14 @@ import 'mapDriverWidgets/sos_connect.dart';
|
||||
class PassengerLocationMapPage extends StatelessWidget {
|
||||
PassengerLocationMapPage({super.key});
|
||||
final LocationController locationController = Get.put(LocationController());
|
||||
final MapDriverController mapDriverController =
|
||||
Get.put(MapDriverController());
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
Get.put(MapDriverController());
|
||||
// Get.put(MapDriverController());
|
||||
|
||||
return MyScafolld(
|
||||
title: Get.find<MapDriverController>().carType,
|
||||
title: 'Map Passenger'.tr + mapDriverController.carType,
|
||||
body: [
|
||||
GoogleDriverMap(locationController: locationController),
|
||||
const PassengerInfoWindow(),
|
||||
|
||||
@@ -70,7 +70,8 @@ GetBuilder<MapDriverController> driverEndRideBar() {
|
||||
Text(mapDriverController.price.toStringAsFixed(0)),
|
||||
],
|
||||
),
|
||||
mapDriverController.carType == 'Free Ride'
|
||||
mapDriverController.carType == 'Free Ride' ||
|
||||
mapDriverController.carType == 'Comfort'
|
||||
? Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
|
||||
Reference in New Issue
Block a user