2-10/3/1
This commit is contained in:
@@ -33,9 +33,11 @@ class PassengerLocationMapPage extends StatelessWidget {
|
||||
.startTimerToShowPassengerInfoWindowFromDriver();
|
||||
}
|
||||
|
||||
return MyScafolld(
|
||||
title: 'Map Passenger'.tr,
|
||||
body: [
|
||||
return Scaffold(
|
||||
// title: 'Map Passenger'.tr,
|
||||
body: SafeArea(
|
||||
child: Stack(
|
||||
children: [
|
||||
GoogleDriverMap(locationController: locationController),
|
||||
const PassengerInfoWindow(),
|
||||
CancelWidget(mapDriverController: mapDriverController),
|
||||
@@ -45,7 +47,8 @@ class PassengerLocationMapPage extends StatelessWidget {
|
||||
const GoogleMapApp(),
|
||||
const PricesWindow(),
|
||||
],
|
||||
isleading: false);
|
||||
),
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -81,7 +84,8 @@ class CancelWidget extends StatelessWidget {
|
||||
],
|
||||
),
|
||||
confirm: MyElevatedButton(
|
||||
title: 'OK'.tr,
|
||||
title: 'Ok'.tr,
|
||||
kolor: AppColor.redColor,
|
||||
onPressed: () async {
|
||||
// todo add cancel and inform passenger to get new driver
|
||||
await mapDriverController
|
||||
@@ -89,8 +93,8 @@ class CancelWidget extends StatelessWidget {
|
||||
Get.back();
|
||||
}),
|
||||
cancel: MyElevatedButton(
|
||||
title: 'NO'.tr,
|
||||
kolor: AppColor.redColor,
|
||||
title: 'No'.tr,
|
||||
// kolor: AppColor.redColor,
|
||||
onPressed: () {
|
||||
Get.back();
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user