This commit is contained in:
Hamza-Ayed
2024-02-16 00:54:29 +03:00
parent 6c57b0edaf
commit 4d9e76697b
9 changed files with 165 additions and 58 deletions

View File

@@ -241,7 +241,8 @@ class PassengerInfoWindow extends StatelessWidget {
),
controller.remainingTimeInPassengerLocatioWait <
300 &&
controller.remainingTimeInPassengerLocatioWait !=
controller
.remainingTimeInPassengerLocatioWait !=
0
? Stack(
children: [
@@ -272,8 +273,9 @@ class PassengerInfoWindow extends StatelessWidget {
)
: controller.isdriverWaitTimeEnd
? MyElevatedButton(
title:
'You Can Cancel Trip And get Cost of Trip From ${AppInformation.appName}'
title: 'You Can Cancel Trip And get Cost of Trip From'
.tr +
' ${AppInformation.appName}'
.tr,
kolor: AppColor
.deepPurpleAccent,

View File

@@ -223,7 +223,7 @@ class OrderRequestPage extends StatelessWidget {
'passengerLocation': myList[0].toString(),
'passengerDestination': myList[1].toString(),
'Duration': myList[4].toString(),
'totalCost': myList[2].toString(),
'totalCost': myList[26].toString(),
'Distance': myList[5].toString(),
'name': myList[8].toString(),
'phone': myList[10].toString(),
@@ -236,7 +236,7 @@ class OrderRequestPage extends StatelessWidget {
'passengerId': myList[7].toString(),
'driverId': myList[18].toString(),
'durationOfRideValue': myList[19].toString(),
'paymentAmount': myList[3].toString(),
'paymentAmount': myList[2].toString(),
'paymentMethod':
myList[13].toString() == 'true' ? 'visa' : 'cash',
'isHaveSteps': myList[20].toString(),
@@ -245,6 +245,7 @@ class OrderRequestPage extends StatelessWidget {
'step2': myList[23].toString(),
'step3': myList[24].toString(),
'step4': myList[25].toString(),
'passengerWalletBurc': myList[26].toString(),
});
},
),