This commit is contained in:
Hamza Aleghwairyeen
2024-04-12 00:52:03 +03:00
parent 0d0eaa6268
commit 0e91e389e5
6 changed files with 132 additions and 59 deletions

View File

@@ -73,8 +73,11 @@ GetBuilder<MapDriverController> driverEndRideBar() {
child: Row(
children: [
const Icon(Icons.timer),
Text(mapDriverController
.stringRemainingTimeRideBegin1),
Text(
mapDriverController
.stringRemainingTimeRideBegin1,
style: AppStyle.number,
),
],
),
)),
@@ -87,7 +90,9 @@ GetBuilder<MapDriverController> driverEndRideBar() {
children: [
const Icon(Icons.location_on),
Text(
'${mapDriverController.recentDistanceToDash.toStringAsFixed(0)} ${'KM'.tr}'),
'${mapDriverController.recentDistanceToDash.toStringAsFixed(0)} ${'KM'.tr}',
style: AppStyle.number,
),
],
),
),
@@ -100,8 +105,10 @@ GetBuilder<MapDriverController> driverEndRideBar() {
child: Row(
children: [
const Icon(Icons.attach_money),
Text(mapDriverController.price
.toStringAsFixed(2)),
Text(
mapDriverController.price.toStringAsFixed(2),
style: AppStyle.number,
),
],
),
),