This commit is contained in:
Hamza Aleghwairyeen
2024-04-12 17:31:21 +03:00
parent 2f50b59ea7
commit 59a7af65d7
2 changed files with 35 additions and 13 deletions

View File

@@ -433,6 +433,10 @@ class MyTranslation extends Translations {
"إذا كنت تحتاج أي مساعدة أو لديك أسئلة هذه الصفحة المكان المناسب لذلك وأهلاً بك", "إذا كنت تحتاج أي مساعدة أو لديك أسئلة هذه الصفحة المكان المناسب لذلك وأهلاً بك",
'Enter your Question here': "أدخل سؤالك هنا", 'Enter your Question here': "أدخل سؤالك هنا",
'Question': "السؤال", 'Question': "السؤال",
'Your trip cost is': 'تبلغ تكلفة رحلتك',
'But you have a negative balance of': 'ولكن لديك رصيد سلبي قدره',
' in your': 'في محفظتك',
' wallet due to a previous trip.': 'بسبب رحلة سابقة',
'Submit Question': "طرح السؤال", 'Submit Question': "طرح السؤال",
'Please enter your Question.': "الرجاء إدخال سؤالك.", 'Please enter your Question.': "الرجاء إدخال سؤالك.",
'Help Details': "تفاصيل المساعدة", 'Help Details': "تفاصيل المساعدة",

View File

@@ -398,21 +398,39 @@ class Burc extends StatelessWidget {
color: AppColor.redColor.withOpacity(.5), color: AppColor.redColor.withOpacity(.5),
), ),
height: 50, height: 50,
width: Get.width * .94, width: Get.width,
child: Padding( child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 8), padding: const EdgeInsets.symmetric(horizontal: 8),
child: Text( child: Row(
'Your trip cost is'.tr + children: [
' ${mapPassengerController.totalCostPassenger.toStringAsFixed(2)} ' IconButton(
'But you have a negative balance of' onPressed: () async => await Get.find<
.tr + TextToSpeechController>()
'${passengerWallet.toStringAsFixed(2)}' .speakText('Your trip cost is'.tr +
' in your' ' ${mapPassengerController.totalCostPassenger.toStringAsFixed(2)} '
.tr + 'But you have a negative balance of'
' ${AppInformation.appName}' .tr +
' wallet due to a previous trip.' '${passengerWallet.toStringAsFixed(2)}'
.tr, ' in your'
style: AppStyle.subtitle, .tr +
' ${AppInformation.appName}'
' wallet due to a previous trip.'
.tr),
icon: const Icon(Icons.headphones)),
Text(
'Your trip cost is'.tr +
' ${mapPassengerController.totalCostPassenger.toStringAsFixed(2)} '
'But you have a negative balance of'
.tr +
'${passengerWallet.toStringAsFixed(2)}'
' in your'
.tr +
' ${AppInformation.appName}'
' wallet due to a previous trip.'
.tr,
style: AppStyle.subtitle,
),
],
), ),
), ),
), ),