This commit is contained in:
Hamza-Ayed
2024-05-31 01:25:20 +03:00
parent 93adf15874
commit efec9eb6a2
8 changed files with 509 additions and 503 deletions

View File

@@ -2,8 +2,9 @@ import 'package:flutter/material.dart';
class AppColor { class AppColor {
static const Color primaryColor = Colors.black; // Slightly softer red static const Color primaryColor = Colors.black; // Slightly softer red
static const Color secondaryColor = Colors.white; static const Color secondaryColor = Color.fromARGB(255, 255, 255, 255);
static const Color accentColor = Color(0xFFD81F26); // Google Green static const Color accentColor =
Color.fromARGB(255, 185, 169, 169); // Google Green
static const Color backgroundColor = static const Color backgroundColor =
Color(0xFFF5F5F5); // Light grey background Color(0xFFF5F5F5); // Light grey background
static const Color redColor = Color(0xFFEA4335); // Google Red static const Color redColor = Color(0xFFEA4335); // Google Red

View File

@@ -81,8 +81,8 @@ class RegisterController extends GetxController {
'token': randomNumber.toString(), 'token': randomNumber.toString(),
}); });
// await smsEgyptController.sendSmsEgypt( await smsEgyptController.sendSmsEgypt(
// phoneController.text.toString(), randomNumber.toString()); phoneController.text.toString(), randomNumber.toString());
isSent = true; isSent = true;
isLoading = false; isLoading = false;
update(); update();

View File

@@ -22,7 +22,7 @@ void launchCommunication(
url = 'tel:$contactInfo'; url = 'tel:$contactInfo';
break; break;
case 'sms': case 'sms':
url = 'sms:$contactInfo?body=$encodedMessage'; url = 'sms:$contactInfo&body=$encodedMessage';
break; break;
case 'whatsapp': case 'whatsapp':
url = url =
@@ -58,8 +58,10 @@ void launchCommunication(
return; return;
} }
if (await canLaunch(url)) { print('Launching URL: $url'); // Add this line for debugging
await launch(url);
if (await canLaunchUrl(Uri.parse(url))) {
await launchUrl(Uri.parse(url));
} else { } else {
print('Could not launch $url'); print('Could not launch $url');
} }

View File

@@ -4,6 +4,8 @@ class MyTranslation extends Translations {
@override @override
Map<String, Map<String, String>> get keys => { Map<String, Map<String, String>> get keys => {
"ar": { "ar": {
'The driver waiting you in picked location .':
"السائق ينتظرك في موقع الركوب.",
'About Us': "نبذة عنا", 'About Us': "نبذة عنا",
"Most Secure Methods": "أساليب الأمان الأكثر فاعلية", "Most Secure Methods": "أساليب الأمان الأكثر فاعلية",
"In-App VOIP Calls": "مكالمات VOIP داخل التطبيق", "In-App VOIP Calls": "مكالمات VOIP داخل التطبيق",

View File

@@ -13,494 +13,494 @@ import '../../../controller/home/map_passenger_controller.dart';
GetBuilder<MapPassengerController> buttomSheetMapPage() { GetBuilder<MapPassengerController> buttomSheetMapPage() {
Get.put(PaymentController()); Get.put(PaymentController());
return GetBuilder<MapPassengerController>( return GetBuilder<MapPassengerController>(
builder: (controller) => controller.isBottomSheetShown && builder: (controller) =>
controller.rideConfirm == false controller.isBottomSheetShown && controller.rideConfirm == false
? Positioned( ? const Positioned(
left: 5, left: 5,
bottom: 0, bottom: 0,
right: 5, right: 5,
child: Column( child: Column(
children: [ // children: [
Row( // Row(
mainAxisAlignment: MainAxisAlignment.end, // mainAxisAlignment: MainAxisAlignment.end,
children: [ // children: [
double.parse(box.read(BoxName.passengerWalletTotal)) < // double.parse(box.read(BoxName.passengerWalletTotal)) <
0 && // 0 &&
controller.data.isNotEmpty // controller.data.isNotEmpty
? Container( // ? Container(
decoration: AppStyle.boxDecoration.copyWith( // decoration: AppStyle.boxDecoration
color: AppColor.redColor.withOpacity(.5)), // .copyWith(color: AppColor.redColor),
height: 50, // height: 50,
width: Get.width * .94, // width: Get.width * .94,
child: Padding( // child: Padding(
padding: // padding:
const EdgeInsets.symmetric(horizontal: 8), // const EdgeInsets.symmetric(horizontal: 8),
child: Text( // child: Text(
'Your trip cost is'.tr + // 'Your trip cost is'.tr +
' ${controller.totalCostPassenger.toStringAsFixed(2)} ' // ' ${controller.totalCostPassenger.toStringAsFixed(2)} '
'But you have a negative salary of' // 'But you have a negative salary of'
.tr + // .tr +
'${double.parse(box.read(BoxName.passengerWalletTotal)).toStringAsFixed(2)}' // '${double.parse(box.read(BoxName.passengerWalletTotal)).toStringAsFixed(2)}'
' in your' // ' in your'
.tr + // .tr +
' ${AppInformation.appName}' // ' ${AppInformation.appName}'
' wallet due to a previous trip.' // ' wallet due to a previous trip.'
.tr, // .tr,
style: AppStyle.subtitle,
),
))
: const SizedBox(),
],
),
const SizedBox(
height: 5,
),
AnimatedContainer(
// clipBehavior: Clip.antiAliasWithSaveLayer,
curve: Curves.easeInCirc,
onEnd: () {
controller.height = 250;
},
height: controller.heightBottomSheetShown,
duration: const Duration(seconds: 2),
child: Column(
children: [
controller.data.isEmpty
? const SizedBox()
: Container(
// width: Get.width * .9,
height: 100,
decoration: BoxDecoration(
color: AppColor.secondaryColor,
boxShadow: [
const BoxShadow(
color: AppColor.accentColor,
offset: Offset(2, 2)),
BoxShadow(
color: AppColor.accentColor
.withOpacity(.4),
offset: const Offset(-2, -2))
],
borderRadius: const BorderRadius.all(
Radius.circular(15))),
child: ListView.builder(
scrollDirection: Axis.horizontal,
itemCount: controller
.dataCarsLocationByPassenger.length -
1,
itemBuilder:
(BuildContext context, int index) {
return Container(
color: controller.gender == 'Female'
? const Color.fromARGB(
255, 246, 52, 181)
: AppColor.secondaryColor,
width: Get.width,
child: Row(
mainAxisAlignment:
MainAxisAlignment.spaceBetween,
children: [
SizedBox(
width: Get.width * .15,
child: Padding(
padding:
const EdgeInsets.all(8.0),
child: Image.asset(
'assets/images/jeep.png',
width: 50,
fit: BoxFit.fill,
repeat: ImageRepeat.repeatX,
),
),
),
SizedBox(
width: Get.width * .55,
child: Column(
crossAxisAlignment:
CrossAxisAlignment.start,
mainAxisAlignment:
MainAxisAlignment.spaceEvenly,
children: [
Text(
controller.hours > 0
? '${'Your Ride Duration is '.tr}${controller.hours} ${'H and'.tr} ${controller.minutes} ${'m'.tr}'
: '${'Your Ride Duration is '.tr} ${controller.minutes} m',
style: AppStyle.subtitle,
),
// Text(
// '${'You will be thier in'.tr} ${DateFormat('h:mm a').format(controller.newTime)}',
// style: AppStyle.subtitle, // style: AppStyle.subtitle,
// ), // ),
Text( // ))
'${'Your trip distance is'.tr} ${controller.distance.toStringAsFixed(2)} ${'KM'.tr}', // : const SizedBox(),
style: AppStyle.subtitle, // ],
) // ),
], // const SizedBox(
), // height: 5,
), // ),
SizedBox( // AnimatedContainer(
width: Get.width * .2, // // clipBehavior: Clip.antiAliasWithSaveLayer,
child: Padding( // curve: Curves.easeInCirc,
padding: const EdgeInsets.only( // onEnd: () {
right: 5, left: 5), // controller.height = 250;
child: Column( // },
crossAxisAlignment: // height: controller.heightBottomSheetShown,
CrossAxisAlignment.center, // duration: const Duration(seconds: 2),
children: [ // child: Column(
Container( // children: [
width: Get.width * .14, // controller.data.isEmpty
height: Get.height * .06, // ? const SizedBox()
decoration: BoxDecoration( // : Container(
color: AppColor // // width: Get.width * .9,
.secondaryColor, // height: 100,
shape: // decoration: BoxDecoration(
BoxShape.rectangle, // color: AppColor.secondaryColor,
border: Border.all( // boxShadow: [
width: 2, // const BoxShadow(
color: AppColor // color: AppColor.accentColor,
.greenColor)), // offset: Offset(2, 2)),
child: Center( // BoxShadow(
child: Text( // color: AppColor.accentColor
'${'Fee is'.tr} \n${controller.totalPassenger.toStringAsFixed(2)}', // .withOpacity(.4),
style: // offset: const Offset(-2, -2))
AppStyle.subtitle, // ],
), // borderRadius: const BorderRadius.all(
), // Radius.circular(15))),
), // child: ListView.builder(
controller.promoTaken // scrollDirection: Axis.horizontal,
? const Icon( // itemCount: controller
Icons // .dataCarsLocationByPassenger.length -
.filter_vintage_rounded, // 1,
color: // itemBuilder:
AppColor.redColor, // (BuildContext context, int index) {
) // return Container(
: const SizedBox( // color: controller.gender == 'Female'
height: 0, // ? const Color.fromARGB(
) // 255, 246, 52, 181)
], // : AppColor.secondaryColor,
), // width: Get.width,
), // child: Row(
), // mainAxisAlignment:
], // MainAxisAlignment.spaceBetween,
), // children: [
); // SizedBox(
}, // width: Get.width * .15,
), // child: Padding(
), // padding:
const SizedBox( // const EdgeInsets.all(8.0),
height: 5, // child: Image.asset(
), // 'assets/images/jeep.png',
Container( // width: 50,
// height: 130, // fit: BoxFit.fill,
decoration: BoxDecoration( // repeat: ImageRepeat.repeatX,
color: AppColor.secondaryColor, // ),
boxShadow: [ // ),
const BoxShadow( // ),
color: AppColor.accentColor, // SizedBox(
offset: Offset(2, 2)), // width: Get.width * .55,
BoxShadow( // child: Column(
color: AppColor.accentColor.withOpacity(.4), // crossAxisAlignment:
offset: const Offset(-2, -2)) // CrossAxisAlignment.start,
], // mainAxisAlignment:
borderRadius: // MainAxisAlignment.spaceEvenly,
const BorderRadius.all(Radius.circular(15))), // children: [
child: controller.data.isEmpty // Text(
? const SizedBox() // controller.hours > 0
: Center( // ? '${'Your Ride Duration is '.tr}${controller.hours} ${'H and'.tr} ${controller.minutes} ${'m'.tr}'
child: Padding( // : '${'Your Ride Duration is '.tr} ${controller.minutes} m',
padding: const EdgeInsets.symmetric( // style: AppStyle.subtitle,
horizontal: 5), // ),
child: Column( // // Text(
children: [ // // '${'You will be thier in'.tr} ${DateFormat('h:mm a').format(controller.newTime)}',
Row( // // style: AppStyle.subtitle,
children: [ // // ),
const Icon( // Text(
Icons.location_on, // '${'Your trip distance is'.tr} ${controller.distance.toStringAsFixed(2)} ${'KM'.tr}',
color: AppColor.redColor, // style: AppStyle.subtitle,
), // )
const SizedBox( // ],
width: 10, // ),
), // ),
Text( // SizedBox(
'From : '.tr, // width: Get.width * .2,
style: AppStyle.subtitle, // child: Padding(
), // padding: const EdgeInsets.only(
Text( // right: 5, left: 5),
controller.data[0] // child: Column(
['start_address'] // crossAxisAlignment:
.toString(), // CrossAxisAlignment.center,
style: AppStyle.subtitle, // children: [
) // Container(
], // width: Get.width * .14,
), // height: Get.height * .06,
Row( // decoration: BoxDecoration(
children: [ // color: AppColor
const Icon(Icons // .secondaryColor,
.location_searching_rounded), // shape:
const SizedBox( // BoxShape.rectangle,
width: 10, // border: Border.all(
), // width: 2,
Text( // color: AppColor
'To : '.tr, // .greenColor)),
style: AppStyle.subtitle, // child: Center(
), // child: Text(
Text( // '${'Fee is'.tr} \n${controller.totalPassenger.toStringAsFixed(2)}',
controller.data[0]['end_address'], // style:
style: AppStyle.subtitle, // AppStyle.subtitle,
), // ),
], // ),
), // ),
const Divider( // controller.promoTaken
color: AppColor.accentColor, // ? const Icon(
thickness: 1, // Icons
height: 2, // .filter_vintage_rounded,
indent: 1, // color:
), // AppColor.redColor,
SizedBox( // )
height: 40, // : const SizedBox(
child: Row( // height: 0,
mainAxisAlignment: // )
MainAxisAlignment.center, // ],
children: [ // ),
Container( // ),
decoration: BoxDecoration( // ),
color: // ],
AppColor.secondaryColor, // ),
borderRadius: // );
BorderRadius.circular(12), // },
// border: Border.all(), // ),
), // ),
child: Row( // const SizedBox(
children: [ // height: 5,
Icon( // ),
Icons.monetization_on, // Container(
color: Colors.green[400], // // height: 130,
), // decoration: BoxDecoration(
InkWell( // color: AppColor.secondaryColor,
onTap: () async { // boxShadow: [
controller // const BoxShadow(
.changeCashConfirmPageShown(); // color: AppColor.accentColor,
Get.find< // offset: Offset(2, 2)),
PaymentController>() // BoxShadow(
.getPassengerWallet(); // color: AppColor.accentColor.withOpacity(.4),
}, // offset: const Offset(-2, -2))
child: GetBuilder< // ],
PaymentController>( // borderRadius:
builder: (paymentController) => // const BorderRadius.all(Radius.circular(15))),
paymentController // child: controller.data.isEmpty
.isCashChecked // ? const SizedBox()
? Text( // : Center(
'CASH', // child: Padding(
style: AppStyle // padding: const EdgeInsets.symmetric(
.title, // horizontal: 5),
) // child: Column(
: Text( // children: [
'${AppInformation.appName} Wallet', // Row(
style: AppStyle // children: [
.title, // const Icon(
), // Icons.location_on,
), // color: AppColor.redColor,
), // ),
], // const SizedBox(
), // width: 10,
), // ),
const SizedBox( // Text(
width: 40, // 'From : '.tr,
), // style: AppStyle.subtitle,
GetBuilder<PaymentController>( // ),
builder: // Text(
(paymentController) => // controller.data[0]
Container( // ['start_address']
decoration: // .toString(),
BoxDecoration( // style: AppStyle.subtitle,
color: AppColor // )
.secondaryColor, // ],
borderRadius: // ),
BorderRadius // Row(
.circular( // children: [
12), // const Icon(Icons
), // .location_searching_rounded),
child: Row( // const SizedBox(
children: [ // width: 10,
Icon( // ),
Icons // Text(
.qr_code_2_rounded, // 'To : '.tr,
color: Colors // style: AppStyle.subtitle,
.green[ // ),
400], // Text(
), // controller.data[0]['end_address'],
InkWell( // style: AppStyle.subtitle,
onTap: () { // ),
if (controller // ],
.promoTaken == // ),
false) { // const Divider(
Get.defaultDialog( // color: AppColor.accentColor,
title: 'Add Promo'.tr, // thickness: 1,
titleStyle: AppStyle.title, // height: 2,
content: Column( // indent: 1,
children: [ // ),
SizedBox( // SizedBox(
width: Get.width * .7, // height: 40,
child: TextFormField( // child: Row(
controller: controller.promo, // mainAxisAlignment:
decoration: InputDecoration( // MainAxisAlignment.center,
labelText: 'Promo Code'.tr, // children: [
hintText: 'Enter promo code'.tr, // Container(
labelStyle: AppStyle.subtitle, // decoration: BoxDecoration(
hintStyle: AppStyle.subtitle, // color:
border: OutlineInputBorder( // AppColor.secondaryColor,
borderRadius: BorderRadius.circular(10), // borderRadius:
), // BorderRadius.circular(12),
filled: true, // // border: Border.all(),
fillColor: Colors.grey[200], // ),
focusedBorder: OutlineInputBorder( // child: Row(
borderSide: const BorderSide( // children: [
color: AppColor.primaryColor, // Icon(
width: 2.0, // Icons.monetization_on,
), // color: Colors.green[400],
borderRadius: BorderRadius.circular(10), // ),
), // InkWell(
errorBorder: OutlineInputBorder( // onTap: () async {
borderSide: const BorderSide( // controller
color: Colors.red, // .changeCashConfirmPageShown();
width: 2.0, // Get.find<
), // PaymentController>()
borderRadius: BorderRadius.circular(10), // .getPassengerWallet();
), // },
enabledBorder: OutlineInputBorder( // child: GetBuilder<
borderSide: const BorderSide( // PaymentController>(
color: Colors.grey, // builder: (paymentController) =>
width: 1.0, // paymentController
), // .isCashChecked
borderRadius: BorderRadius.circular(10), // ? Text(
), // 'CASH',
), // style: AppStyle
), // .title,
), // )
MyElevatedButton( // : Text(
title: 'Add Promo'.tr, // '${AppInformation.appName} Wallet',
onPressed: () async { // style: AppStyle
controller.applyPromoCodeToPassenger(); // .title,
}, // ),
) // ),
], // ),
)); // ],
} else { // ),
Get.snackbar( // ),
'You have promo!' // const SizedBox(
.tr, // width: 40,
'', // ),
backgroundColor: // GetBuilder<PaymentController>(
AppColor.redColor); // builder:
} // (paymentController) =>
}, // Container(
child: Text( // decoration:
'Add Promo' // BoxDecoration(
.tr, // color: AppColor
style: AppStyle // .secondaryColor,
.title, // borderRadius:
), // BorderRadius
), // .circular(
], // 12),
), // ),
)), // child: Row(
], // children: [
), // Icon(
), // Icons
SizedBox( // .qr_code_2_rounded,
width: Get.width * .95, // color: Colors
child: Row( // .green[
mainAxisAlignment: // 400],
MainAxisAlignment.center, // ),
children: [ // InkWell(
controller.isCashSelectedBeforeConfirmRide == // onTap: () {
false // if (controller
? MyElevatedButton( // .promoTaken ==
title: 'Next'.tr, // false) {
onPressed: () { // Get.defaultDialog(
controller // title: 'Add Promo'.tr,
.changeCashConfirmPageShown(); // titleStyle: AppStyle.title,
}, // content: Column(
) // children: [
: // SizedBox(
// controller.isPassengerChosen == // width: Get.width * .7,
// child: TextFormField(
// controller: controller.promo,
// decoration: InputDecoration(
// labelText: 'Promo Code'.tr,
// hintText: 'Enter promo code'.tr,
// labelStyle: AppStyle.subtitle,
// hintStyle: AppStyle.subtitle,
// border: OutlineInputBorder(
// borderRadius: BorderRadius.circular(10),
// ),
// filled: true,
// fillColor: Colors.grey[200],
// focusedBorder: OutlineInputBorder(
// borderSide: const BorderSide(
// color: AppColor.primaryColor,
// width: 2.0,
// ),
// borderRadius: BorderRadius.circular(10),
// ),
// errorBorder: OutlineInputBorder(
// borderSide: const BorderSide(
// color: Colors.red,
// width: 2.0,
// ),
// borderRadius: BorderRadius.circular(10),
// ),
// enabledBorder: OutlineInputBorder(
// borderSide: const BorderSide(
// color: Colors.grey,
// width: 1.0,
// ),
// borderRadius: BorderRadius.circular(10),
// ),
// ),
// ),
// ),
// MyElevatedButton(
// title: 'Add Promo'.tr,
// onPressed: () async {
// controller.applyPromoCodeToPassenger();
// },
// )
// ],
// ));
// } else {
// Get.snackbar(
// 'You have promo!'
// .tr,
// '',
// backgroundColor:
// AppColor.redColor);
// }
// },
// child: Text(
// 'Add Promo'
// .tr,
// style: AppStyle
// .title,
// ),
// ),
// ],
// ),
// )),
// ],
// ),
// ),
// SizedBox(
// width: Get.width * .95,
// child: Row(
// mainAxisAlignment:
// MainAxisAlignment.center,
// children: [
// controller.isCashSelectedBeforeConfirmRide ==
// false // false
// ? MyElevatedButton( // ? MyElevatedButton(
// title: 'Next'.tr, // title: 'Next'.tr,
// onPressed: () { // onPressed: () {
// controller // controller
// .onChangedPassengersChoose(); // .changeCashConfirmPageShown();
// Get.defaultDialog(
// barrierDismissible:
// false,
// title:
// 'How Many Passengers?'
// .tr,
// titleStyle:
// AppStyle
// .title,
// content:
// Column(
// children: [
// Text(
// 'Allowed up to 4 Passengers.'
// .tr,
// style: AppStyle
// .title,
// ),
// SizedBox(
// height:
// 200, // Set the desired height here
// child:
// CupertinoPicker(
// itemExtent:
// 32,
// onSelectedItemChanged:
// (index) {
// controller.onChangedPassengerCount(index +
// 1);
// },
// children: [
// Text('1 Passenger'.tr),
// Text('2 Passengers'.tr),
// Text('3 Passengers'.tr),
// Text('4 Passengers'.tr),
// ],
// ),
// ),
// MyElevatedButton(
// title:
// 'Back',
// onPressed:
// () =>
// Get.back(),
// )
// ],
// ),
// );
// }, // },
// ) // )
// : // :
MyElevatedButton( // // controller.isPassengerChosen ==
title: 'Confirm Selection' // // false
.tr, // // ? MyElevatedButton(
onPressed: () { // // title: 'Next'.tr,
controller // // onPressed: () {
.confirmRideForFirstDriver(); // // controller
}, // // .onChangedPassengersChoose();
), // // Get.defaultDialog(
], // // barrierDismissible:
), // // false,
) // // title:
], // // 'How Many Passengers?'
), // // .tr,
), // // titleStyle:
), // // AppStyle
), // // .title,
], // // content:
), // // Column(
), // // children: [
], // // Text(
// // 'Allowed up to 4 Passengers.'
// // .tr,
// // style: AppStyle
// // .title,
// // ),
// // SizedBox(
// // height:
// // 200, // Set the desired height here
// // child:
// // CupertinoPicker(
// // itemExtent:
// // 32,
// // onSelectedItemChanged:
// // (index) {
// // controller.onChangedPassengerCount(index +
// // 1);
// // },
// // children: [
// // Text('1 Passenger'.tr),
// // Text('2 Passengers'.tr),
// // Text('3 Passengers'.tr),
// // Text('4 Passengers'.tr),
// // ],
// // ),
// // ),
// // MyElevatedButton(
// // title:
// // 'Back',
// // onPressed:
// // () =>
// // Get.back(),
// // )
// // ],
// // ),
// // );
// // },
// // )
// // :
// MyElevatedButton(
// title: 'Confirm Selection'
// .tr,
// onPressed: () {
// controller
// .confirmRideForFirstDriver();
// },
// ),
// ],
// ),
// )
// ],
// ),
// ),
// ),
// ),
// ],
// ),
// ),
// ],
), ),
) )
: const SizedBox()); : const SizedBox());

View File

@@ -465,7 +465,7 @@ class BurcMoney extends StatelessWidget {
if (passengerWallet < 0.0) // Use if statement for clarity if (passengerWallet < 0.0) // Use if statement for clarity
Container( Container(
decoration: AppStyle.boxDecoration.copyWith( decoration: AppStyle.boxDecoration.copyWith(
color: AppColor.redColor.withOpacity(.5), color: AppColor.redColor.withOpacity(.3),
), ),
height: 50, height: 50,
width: Get.width, width: Get.width,

View File

@@ -279,9 +279,10 @@ class RideBeginPassenger extends StatelessWidget {
.toString(); .toString();
// phoneNumber = phoneNumber.replaceAll('0', ''); // phoneNumber = phoneNumber.replaceAll('0', '');
print(phoneNumber); // Output: 798583061 print(phoneNumber); // Output: 798583061
var phone = var phone = box.read(BoxName.countryCode) ==
// '+${box.read(BoxName.countryCode)}${box.read(BoxName.sosPhonePassenger)}'; 'Egypt'
'${box.read(BoxName.sosPhonePassenger)}'; ? '+2${box.read(BoxName.sosPhonePassenger)}'
: '+962${box.read(BoxName.sosPhonePassenger)}';
controller.sendWhatsapp(phone); controller.sendWhatsapp(phone);
} }
}, },

View File

@@ -102,7 +102,7 @@ class TimerToPassengerFromDriver extends StatelessWidget {
child: Column( child: Column(
children: [ children: [
Text( Text(
'The driver waitting you in picked location .'.tr, 'The driver waiting you in picked location .'.tr,
style: AppStyle.title, style: AppStyle.title,
textAlign: TextAlign.center, textAlign: TextAlign.center,
), ),