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': "أدخل سؤالك هنا",
'Question': "السؤال",
'Your trip cost is': 'تبلغ تكلفة رحلتك',
'But you have a negative balance of': 'ولكن لديك رصيد سلبي قدره',
' in your': 'في محفظتك',
' wallet due to a previous trip.': 'بسبب رحلة سابقة',
'Submit Question': "طرح السؤال",
'Please enter your Question.': "الرجاء إدخال سؤالك.",
'Help Details': "تفاصيل المساعدة",

View File

@@ -398,21 +398,39 @@ class Burc extends StatelessWidget {
color: AppColor.redColor.withOpacity(.5),
),
height: 50,
width: Get.width * .94,
width: Get.width,
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 8),
child: 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,
child: Row(
children: [
IconButton(
onPressed: () async => await Get.find<
TextToSpeechController>()
.speakText('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),
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,
),
],
),
),
),