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