This commit is contained in:
Hamza-Ayed
2023-09-27 18:30:21 +03:00
parent 7290e5ecc7
commit 5ca5d91cc9
21 changed files with 414 additions and 189 deletions

View File

@@ -12,7 +12,7 @@ import '../../../controller/home/map_page_controller.dart';
GetBuilder<MapController> buttomSheetMapPage() {
Get.put(PaymentController());
return GetBuilder<MapController>(
builder: (controller) => controller.isButtomSheetShown
builder: (controller) => controller.isBottomSheetShown
? Positioned(
left: 5,
bottom: 0,
@@ -23,7 +23,7 @@ GetBuilder<MapController> buttomSheetMapPage() {
onEnd: () {
controller.height = 250;
},
height: controller.heightButtomSheetShown,
height: controller.heightBottomSheetShown,
duration: const Duration(seconds: 2),
child: Column(
children: [
@@ -283,7 +283,7 @@ GetBuilder<MapController> buttomSheetMapPage() {
'Add Promo'.tr,
onPressed:
() async {
controller.applyPromoCodetoPassenger();
controller.applyPromoCodeToPassenger();
},
)
],
@@ -508,7 +508,7 @@ class Details extends StatelessWidget {
style: AppStyle.title,
),
Text(
'totaME ${controller.totaME.toStringAsFixed(2)} ',
'totaME ${controller.totalME.toStringAsFixed(2)} ',
style: AppStyle.title,
),
],