This commit is contained in:
Hamza Aleghwairyeen
2024-04-11 23:37:49 +03:00
parent bcb220b02f
commit 34bec7de2d
3 changed files with 41 additions and 11 deletions

View File

@@ -444,7 +444,8 @@ class MyTranslation extends Translations {
' H and': "ساعة و",
'Hello this is Driver': "مرحبا هذا السائق",
'Is the Passenger in your Car ?': "هل الراكب في سيارتك؟",
'don\'t start trip if not ': "لا تبدأ الرحلة إذا لم يكن",
'Please wait for the passenger to enter the car before starting the trip.':
"لا تبدأ الرحلة إذا لم يكن الراكب في سيارتك",
'No ,still Waiting.': "لا، مازالت في الإنتظار.",
'I arrive you': "وصلت إليك",
'I Arrive your site': "وصلت إلى موقعك",

View File

@@ -65,13 +65,35 @@ GetBuilder<MapDriverController> driverEndRideBar() {
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
const Icon(Icons.timer),
Text(mapDriverController.stringRemainingTimeRideBegin1),
const Icon(Icons.location_on),
Text(
'${mapDriverController.recentDistanceToDash.toStringAsFixed(0)} ${'KM'.tr}'),
const Icon(Icons.attach_money),
Text(mapDriverController.price.toStringAsFixed(2)),
Container(
decoration: AppStyle.boxDecoration1,
child: Row(
children: [
const Icon(Icons.timer),
Text(mapDriverController
.stringRemainingTimeRideBegin1),
],
)),
Container(
decoration: AppStyle.boxDecoration1,
child: Row(
children: [
const Icon(Icons.location_on),
Text(
'${mapDriverController.recentDistanceToDash.toStringAsFixed(0)} ${'KM'.tr}'),
],
),
),
Container(
decoration: AppStyle.boxDecoration1,
child: Row(
children: [
const Icon(Icons.attach_money),
Text(
mapDriverController.price.toStringAsFixed(2)),
],
),
),
],
),
(mapDriverController.carType == 'Mashwari' ||

View File

@@ -44,9 +44,16 @@ class RideBeginPassenger extends StatelessWidget {
backgroundImage: NetworkImage(
'https://ride.mobile-app.store/portrate_captain_image/${controller.driverId}.jpg'),
),
Text(
controller.firstName,
style: AppStyle.title,
Container(
decoration: AppStyle.boxDecoration1,
child: Column(
children: [
Text(
controller.firstName,
style: AppStyle.title,
),
],
),
),
Column(
children: [