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': "ساعة و", ' H and': "ساعة و",
'Hello this is Driver': "مرحبا هذا السائق", 'Hello this is Driver': "مرحبا هذا السائق",
'Is the Passenger in your Car ?': "هل الراكب في سيارتك؟", '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.': "لا، مازالت في الإنتظار.", 'No ,still Waiting.': "لا، مازالت في الإنتظار.",
'I arrive you': "وصلت إليك", 'I arrive you': "وصلت إليك",
'I Arrive your site': "وصلت إلى موقعك", 'I Arrive your site': "وصلت إلى موقعك",

View File

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

View File

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