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

View File

@@ -66,32 +66,44 @@ GetBuilder<MapDriverController> driverEndRideBar() {
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
Container(
width: Get.width * .2,
decoration: AppStyle.boxDecoration1,
child: Row(
children: [
const Icon(Icons.timer),
Text(mapDriverController
.stringRemainingTimeRideBegin1),
],
child: Padding(
padding: const EdgeInsets.all(4),
child: Row(
children: [
const Icon(Icons.timer),
Text(mapDriverController
.stringRemainingTimeRideBegin1),
],
),
)),
Container(
width: Get.width * .2,
decoration: AppStyle.boxDecoration1,
child: Row(
children: [
const Icon(Icons.location_on),
Text(
'${mapDriverController.recentDistanceToDash.toStringAsFixed(0)} ${'KM'.tr}'),
],
child: Padding(
padding: const EdgeInsets.all(4),
child: Row(
children: [
const Icon(Icons.location_on),
Text(
'${mapDriverController.recentDistanceToDash.toStringAsFixed(0)} ${'KM'.tr}'),
],
),
),
),
Container(
width: Get.width * .2,
decoration: AppStyle.boxDecoration1,
child: Row(
children: [
const Icon(Icons.attach_money),
Text(
mapDriverController.price.toStringAsFixed(2)),
],
child: Padding(
padding: const EdgeInsets.all(4.0),
child: Row(
children: [
const Icon(Icons.attach_money),
Text(mapDriverController.price
.toStringAsFixed(2)),
],
),
),
),
],