6/18/2
This commit is contained in:
@@ -16,13 +16,20 @@ import 'mapDriverWidgets/sos_connect.dart';
|
||||
class PassengerLocationMapPage extends StatelessWidget {
|
||||
PassengerLocationMapPage({super.key});
|
||||
final LocationController locationController = Get.put(LocationController());
|
||||
// final MapDriverController mapDriverController =
|
||||
// Get.put(MapDriverController());
|
||||
final MapDriverController mapDriverController =
|
||||
Get.put(MapDriverController());
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
Get.put(MapDriverController());
|
||||
// Get.put(MapDriverController())
|
||||
// .startTimerToShowPassengerInfoWindowFromDriver();
|
||||
if (!mapDriverController.initialized) {
|
||||
// Call a method to initialize the controller
|
||||
|
||||
mapDriverController.initialized;
|
||||
} else {
|
||||
Get.put(MapDriverController()).argumentLoading();
|
||||
|
||||
Get.put(MapDriverController())
|
||||
.startTimerToShowPassengerInfoWindowFromDriver();
|
||||
}
|
||||
|
||||
return MyScafolld(
|
||||
title: 'Map Passenger'.tr,
|
||||
|
||||
Reference in New Issue
Block a user