This commit is contained in:
Hamza Aleghwairyeen
2024-04-01 14:25:58 +03:00
parent 6a0547276b
commit aa20cd4455
7 changed files with 53 additions and 32 deletions

View File

@@ -49,9 +49,13 @@ class RatePassenger extends StatelessWidget {
padding: const EdgeInsets.all(4),
child: Text(
Get.find<MapDriverController>().cartype ==
'Comfort'
'Comfort' ||
Get.find<MapDriverController>()
.cartype ==
'Free Ride'
? Get.find<MapDriverController>()
.totalCost
.price
.toStringAsFixed(1)
: Get.find<MapDriverController>()
.totalPassenger,
style: AppStyle.number,