language flags removing

This commit is contained in:
MhdZiadHirati 2023-10-26 11:22:14 +03:00
parent f4d77448c0
commit 23fb9b62d2
2 changed files with 10 additions and 6 deletions

View File

@ -4,6 +4,8 @@ class PagesTranslations implements Translations {
@override
Map<String, Map<String, String>> get keys => {
'en': {
'english': 'EN',
'arabic': 'AR',
'cancel_appointment': 'Cancel Appointment',
'appointment_canceling': 'Appontiment Canceling',
'are_you_sure_?': 'Are You Sure?',
@ -196,6 +198,8 @@ class PagesTranslations implements Translations {
'Enter your email to reset your password please \n We will send verification code to your Email.',
},
'ar': {
'english': 'الإنجليزية',
'arabic': 'العربية',
'cancel_appointment': 'إلغاء الموعد',
'appointment_canceling': 'إلغاء الموعد',
'are_you_sure_?': 'هل أنت متأكد؟',

View File

@ -242,17 +242,17 @@ class AccountScreen extends StatelessWidget {
DropdownMenuItem(
value: 'english',
child: SizedBox(
width: 40,
height: 40,
child: SvgPicture.asset('assets/icons/english.svg'),
width: 50,
height: 23,
child: BoldTextWidget('english'.tr),
),
),
DropdownMenuItem(
value: 'arabic',
child: SizedBox(
width: 40,
height: 40,
child: SvgPicture.asset('assets/icons/arabic.svg'),
width: 50,
height: 23,
child: BoldTextWidget('arabic'.tr),
),
),
],