This commit is contained in:
Hamza Aleghwairyeen
2024-04-11 23:42:23 +03:00
parent 34bec7de2d
commit 0d0eaa6268

View File

@@ -66,16 +66,23 @@ GetBuilder<MapDriverController> driverEndRideBar() {
mainAxisAlignment: MainAxisAlignment.spaceAround, mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [ children: [
Container( Container(
width: Get.width * .2,
decoration: AppStyle.boxDecoration1, decoration: AppStyle.boxDecoration1,
child: Padding(
padding: const EdgeInsets.all(4),
child: Row( child: Row(
children: [ children: [
const Icon(Icons.timer), const Icon(Icons.timer),
Text(mapDriverController Text(mapDriverController
.stringRemainingTimeRideBegin1), .stringRemainingTimeRideBegin1),
], ],
),
)), )),
Container( Container(
width: Get.width * .2,
decoration: AppStyle.boxDecoration1, decoration: AppStyle.boxDecoration1,
child: Padding(
padding: const EdgeInsets.all(4),
child: Row( child: Row(
children: [ children: [
const Icon(Icons.location_on), const Icon(Icons.location_on),
@@ -84,16 +91,21 @@ GetBuilder<MapDriverController> driverEndRideBar() {
], ],
), ),
), ),
),
Container( Container(
width: Get.width * .2,
decoration: AppStyle.boxDecoration1, decoration: AppStyle.boxDecoration1,
child: Padding(
padding: const EdgeInsets.all(4.0),
child: Row( child: Row(
children: [ children: [
const Icon(Icons.attach_money), const Icon(Icons.attach_money),
Text( Text(mapDriverController.price
mapDriverController.price.toStringAsFixed(2)), .toStringAsFixed(2)),
], ],
), ),
), ),
),
], ],
), ),
(mapDriverController.carType == 'Mashwari' || (mapDriverController.carType == 'Mashwari' ||