competitvness arabic

This commit is contained in:
Kalonkarthik 2025-07-01 16:55:03 +05:30
parent 7f805f0a72
commit 4ed46d5d54
7 changed files with 239 additions and 204 deletions

View File

@ -2,27 +2,27 @@ C/C++ Structured Logo
m m
kC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\additional_project_files.txtC kC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\additional_project_files.txtC
A A
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  Ì¢é…û2  äýŸÞø2l ?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  øŒµ¬ü2  äýŸÞø2l
j j
hC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\android_gradle_build.json  Í¢é…û2É ŠþŸÞø2q hC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\android_gradle_build.json  øŒµ¬ü2É ŠþŸÞø2q
o o
mC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\android_gradle_build_mini.json  Í¢é…û2œ ·þŸÞø2^ mC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\android_gradle_build_mini.json  øŒµ¬ü2œ ·þŸÞø2^
\ \
ZC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\build.ninja  Í¢é…û2›Ü çúŸÞø2b ZC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\build.ninja  øŒµ¬ü2›Ü çúŸÞø2b
` `
^C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\build.ninja.txt  Í¢é…û2g ^C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\build.ninja.txt  øŒµ¬ü2g
e e
cC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\build_file_index.txt  Í¢é…û2 K ÜþŸÞø2h cC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\build_file_index.txt  øŒµ¬ü2 K ÜþŸÞø2h
f f
dC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\compile_commands.json  Í¢é…û2l dC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\compile_commands.json  øŒµ¬ü2l
j j
hC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\compile_commands.json.bin  Í¢é…û2 r hC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\compile_commands.json.bin  øŒµ¬ü2 r
p p
nC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\metadata_generation_command.txt  Í¢é…û2 nC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\metadata_generation_command.txt  øŒµ¬ü2
à ÔþŸÞø2e à ÔþŸÞø2e
c c
aC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\prefab_config.json  Í¢é…û2  ( ÙþŸÞø2j aC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\prefab_config.json  øŒµ¬ü2  ( ÙþŸÞø2j
h h
fC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\symbol_folder_index.txt  Í¢é…û2  ] ÙþŸÞø2O fC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\symbol_folder_index.txt  øŒµ¬ü2  ] ÙþŸÞø2O
M M
KC:\src\flutter\packages\flutter_tools\gradle\src\main\groovy\CMakeLists.txt  Í¢é…û2 § œ¬ùšõ2 KC:\src\flutter\packages\flutter_tools\gradle\src\main\groovy\CMakeLists.txt  øŒµ¬ü2 § œ¬ùšõ2

View File

@ -2,27 +2,27 @@ C/C++ Structured Logq
o o
mC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\additional_project_files.txtC mC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\additional_project_files.txtC
A A
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  <EFBFBD>£é…û2  åÇ Þø2n ?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  ¢<EFBFBD>µ¬ü2  åÇ Þø2n
l l
jC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\android_gradle_build.json  <EFBFBD>£é…û2Í ïÇ Þø2s jC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\android_gradle_build.json  ¢<EFBFBD>µ¬ü2Í ïÇ Þø2s
q q
oC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\android_gradle_build_mini.json  <EFBFBD>£é…û2  óÇ Þø2` oC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\android_gradle_build_mini.json  ¢<EFBFBD>µ¬ü2  óÇ Þø2`
^ ^
\C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\build.ninja  <EFBFBD>£é…û2¥Ü ÃÅ Þø2d \C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\build.ninja  ¢<EFBFBD>µ¬ü2¥Ü ÃÅ Þø2d
b b
`C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\build.ninja.txt  <EFBFBD>£é…û2i `C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\build.ninja.txt  ¢<EFBFBD>µ¬ü2i
g g
eC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\build_file_index.txt  <EFBFBD>£é…û2 K ýÇ Þø2j eC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\build_file_index.txt  ¢<EFBFBD>µ¬ü2 K ýÇ Þø2j
h h
fC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\compile_commands.json  <EFBFBD>£é…û2n fC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\compile_commands.json  ¢<EFBFBD>µ¬ü2n
l l
jC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\compile_commands.json.bin  <EFBFBD>£é…û2 t jC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\compile_commands.json.bin  ¢<EFBFBD>µ¬ü2 t
r r
pC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\metadata_generation_command.txt  <EFBFBD>£é…û2 pC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\metadata_generation_command.txt  ¢<EFBFBD>µ¬ü2
ê øÇ Þø2g ê øÇ Þø2g
e e
cC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\prefab_config.json  <EFBFBD>£é…û2  ( ùÇ Þø2l cC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\prefab_config.json  ¢<EFBFBD>µ¬ü2  ( ùÇ Þø2l
j j
hC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\symbol_folder_index.txt  <EFBFBD>£é…û2  _ ùÇ Þø2O hC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\symbol_folder_index.txt  ¢<EFBFBD>µ¬ü2  _ ùÇ Þø2O
M M
KC:\src\flutter\packages\flutter_tools\gradle\src\main\groovy\CMakeLists.txt  <EFBFBD>£é…û2 § œ¬ùšõ2 KC:\src\flutter\packages\flutter_tools\gradle\src\main\groovy\CMakeLists.txt  ¢<EFBFBD>µ¬ü2 § œ¬ùšõ2

View File

@ -2,27 +2,27 @@ C/C++ Structured Logi
g g
eC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\additional_project_files.txtC eC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\additional_project_files.txtC
A A
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  <EFBFBD>¤é…û2  ÿò Þø2f ?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  û<EFBFBD>µ¬ü2  ÿò Þø2f
d d
bC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\android_gradle_build.json  <EFBFBD>¤é…û2½ ¤ó Þø2k bC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\android_gradle_build.json  û<EFBFBD>µ¬ü2½ ¤ó Þø2k
i i
gC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\android_gradle_build_mini.json  <EFBFBD>¤é…û2<18> °ó Þø2X gC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\android_gradle_build_mini.json  û<EFBFBD>µ¬ü2<18> °ó Þø2X
V V
TC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\build.ninja  <EFBFBD>¤é…û2ýÛ ³ï Þø2\ TC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\build.ninja  û<EFBFBD>µ¬ü2ýÛ ³ï Þø2\
Z Z
XC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\build.ninja.txt  <EFBFBD>¤é…û2a XC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\build.ninja.txt  û<EFBFBD>µ¬ü2a
_ _
]C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\build_file_index.txt  <EFBFBD>¤é…û2 K Âó Þø2b ]C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\build_file_index.txt  û<EFBFBD>µ¬ü2 K Âó Þø2b
` `
^C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\compile_commands.json  <EFBFBD>¤é…û2f ^C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\compile_commands.json  û<EFBFBD>µ¬ü2f
d d
bC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\compile_commands.json.bin  <EFBFBD>¤é…û2 l bC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\compile_commands.json.bin  û<EFBFBD>µ¬ü2 l
j j
hC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\metadata_generation_command.txt  <EFBFBD>¤é…û2 hC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\metadata_generation_command.txt  û<EFBFBD>µ¬ü2
 ´ó Þø2_  ´ó Þø2_
] ]
[C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\prefab_config.json  <EFBFBD>¤é…û2  ( ´ó Þø2d [C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\prefab_config.json  û<EFBFBD>µ¬ü2  ( ´ó Þø2d
b b
`C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\symbol_folder_index.txt  <EFBFBD>¤é…û2  W ¹ó Þø2O `C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\symbol_folder_index.txt  û<EFBFBD>µ¬ü2  W ¹ó Þø2O
M M
KC:\src\flutter\packages\flutter_tools\gradle\src\main\groovy\CMakeLists.txt  <EFBFBD>¤é…û2 § œ¬ùšõ2 KC:\src\flutter\packages\flutter_tools\gradle\src\main\groovy\CMakeLists.txt  û<EFBFBD>µ¬ü2 § œ¬ùšõ2

View File

@ -2,27 +2,27 @@ C/C++ Structured Logl
j j
hC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\additional_project_files.txtC hC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\additional_project_files.txtC
A A
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  ¿¤é…û2  ù”¡Þø2i ?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  掵¬ü2  ù”¡Þø2i
g g
eC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\android_gradle_build.json  ¿¤é…û2à •¡Þø2n eC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\android_gradle_build.json  掵¬ü2à •¡Þø2n
l l
jC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\android_gradle_build_mini.json  ¿¤é…û2 †•¡Þø2[ jC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\android_gradle_build_mini.json  掵¬ü2 †•¡Þø2[
Y Y
WC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\build.ninja  ¿¤é…û2ŒÜ þ¡Þø2_ WC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\build.ninja  掵¬ü2ŒÜ þ¡Þø2_
] ]
[C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\build.ninja.txt  ¿¤é…û2d [C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\build.ninja.txt  掵¬ü2d
b b
`C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\build_file_index.txt  ¿¤é…û2 K <20>•¡Þø2e `C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\build_file_index.txt  掵¬ü2 K <20>•¡Þø2e
c c
aC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\compile_commands.json  ¿¤é…û2i aC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\compile_commands.json  掵¬ü2i
g g
eC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\compile_commands.json.bin  À¤é…û2 o eC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\compile_commands.json.bin  玵¬ü2 o
m m
kC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\metadata_generation_command.txt  À¤é…û2 kC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\metadata_generation_command.txt  玵¬ü2
Ñ ‰•¡Þø2b Ñ ‰•¡Þø2b
` `
^C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\prefab_config.json  À¤é…û2  ( •¡Þø2g ^C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\prefab_config.json  玵¬ü2  ( •¡Þø2g
e e
cC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\symbol_folder_index.txt  À¤é…û2  Z Œ•¡Þø2O cC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\symbol_folder_index.txt  玵¬ü2  Z Œ•¡Þø2O
M M
KC:\src\flutter\packages\flutter_tools\gradle\src\main\groovy\CMakeLists.txt  À¤é…û2 § œ¬ùšõ2 KC:\src\flutter\packages\flutter_tools\gradle\src\main\groovy\CMakeLists.txt  玵¬ü2 § œ¬ùšõ2

View File

@ -70,7 +70,7 @@ android {
release { release {
// TODO: Add your own signing config for the release build. // TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works. // Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.release // signingConfig signingConfigs.release
minifyEnabled true // Enable code shrinking for smaller APKs minifyEnabled true // Enable code shrinking for smaller APKs
shrinkResources true shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'

View File

@ -8,15 +8,19 @@ class ReportDetailPage extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return BaseScaffold( return Theme(
data: ThemeData(
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
),
child: BaseScaffold(
title: Text( title: Text(
context.translate( context.translate(
'UAE Competitiveness', 'UAE Competitiveness',
'التقارير التنافسيه لدولة الامارات', 'التقارير التنافسيه لدولة الامارات',
), ),
style: TextStyle(
fontFamily: context.translate('Roboto', 'NotoKufi'),
),
), ),
showBackButton: true, showBackButton: true,
body: SingleChildScrollView( body: SingleChildScrollView(
@ -36,7 +40,10 @@ class ReportDetailPage extends StatelessWidget {
children: [ children: [
Expanded( Expanded(
child: Text( child: Text(
context.translate(
'Prosperity Index (2023)', 'Prosperity Index (2023)',
'تقرير مؤشر الازدهار (2023)',
),
style: TextStyle( style: TextStyle(
fontSize: 20, fontSize: 20,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
@ -53,8 +60,11 @@ class ReportDetailPage extends StatelessWidget {
), ),
const SizedBox(height: 24), const SizedBox(height: 24),
const Text( Text(
context.translate(
'The Legatum Prosperity Index is published annually by the Legatum Institute. It is a policy-focused report that measures the current state of prosperity since 2007. Using the Prosperity Index framework, nations around the world can assess their strengths and weaknesses in order to determine the economic and strategic choices that need to be made to further build inclusive societies, open economies, and empowered people to drive greater levels of prosperity.', 'The Legatum Prosperity Index is published annually by the Legatum Institute. It is a policy-focused report that measures the current state of prosperity since 2007. Using the Prosperity Index framework, nations around the world can assess their strengths and weaknesses in order to determine the economic and strategic choices that need to be made to further build inclusive societies, open economies, and empowered people to drive greater levels of prosperity.',
'تم إصدار تقرير مؤشر الازدهار من قبل معهد ليجاتم لأول مرة في عام 2007 ويتم إصداره بشكل سنوي. يقيس التقرير جهود 167 دولة لتعزيز رفاه مواطنيها عبر 12 محور التي تضم 300 مؤشر (منقسمين إلى 192 بيانات إحصائية و108 استبيانات).',
),
style: TextStyle(fontSize: 14), style: TextStyle(fontSize: 14),
), ),
const SizedBox(height: 24), const SizedBox(height: 24),
@ -70,7 +80,7 @@ class ReportDetailPage extends StatelessWidget {
children: [ children: [
Expanded( Expanded(
child: _RankingCard( child: _RankingCard(
title: 'Rank in 2023', title: context.translate('Rank in 2023','تقرير مؤشر الازدهار (2023)'),
value: '44', value: '44',
icon: const Icon(Icons.arrow_downward, color: Colors.red, size: 25), icon: const Icon(Icons.arrow_downward, color: Colors.red, size: 25),
), ),
@ -84,7 +94,7 @@ class ReportDetailPage extends StatelessWidget {
), ),
Expanded( Expanded(
child: _RankingCard( child: _RankingCard(
title: 'vs. Previous Edition', title: context.translate('vs. Previous Edition','مقابل الإصدار السابق'),
value: '41', value: '41',
icon: const SizedBox.shrink(), icon: const SizedBox.shrink(),
), ),
@ -104,8 +114,8 @@ class ReportDetailPage extends StatelessWidget {
child: Column( child: Column(
children: [ children: [
_CountryRankingItem( _CountryRankingItem(
title: 'First Globally', title: context.translate('First Globally','أولاً عالمياً'),
country: 'DENMARK', country: context.translate('DENMARK','الدنمارك'),
flagPath: 'assets/country_flags/de.png', flagPath: 'assets/country_flags/de.png',
), ),
const Padding( const Padding(
@ -114,7 +124,7 @@ class ReportDetailPage extends StatelessWidget {
), ),
_CountryRankingItem( _CountryRankingItem(
title: 'First in GCC', title: 'First in GCC',
country: 'MULTIPLE COUNTRIES', country: context.translate('MULTIPLE COUNTRIES','دول متعددة'),
flagPath: 'assets/competitiveness/multi-frame.jpg', flagPath: 'assets/competitiveness/multi-frame.jpg',
onTap: () => showDialog( onTap: () => showDialog(
context: context, context: context,
@ -129,13 +139,13 @@ class ReportDetailPage extends StatelessWidget {
child: Column( child: Column(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
_CountryItem(name: 'Argentina', flag: 'assets/country_flags/ar.png'), _CountryItem(name: context.translate('Argentina','الأرجنتين'), flag: 'assets/country_flags/ar.png'),
_CountryItem(name: 'Bahrain', flag: 'assets/country_flags/ba.png'), _CountryItem(name: context.translate('Bahrain','البحرين') ,flag: 'assets/country_flags/ba.png'),
_CountryItem(name: 'Denmark', flag: 'assets/country_flags/de.png'), _CountryItem(name: context.translate('Denmark','الدنمارك'), flag: 'assets/country_flags/de.png'),
_CountryItem(name: 'Finland', flag: 'assets/country_flags/fi.png'), _CountryItem(name: context.translate('Finland','فنلندا'), flag: 'assets/country_flags/fi.png'),
_CountryItem(name: 'Oman', flag: 'assets/country_flags/am.png'), _CountryItem(name: context.translate('Oman','عمان') ,flag: 'assets/country_flags/am.png'),
_CountryItem(name: 'Singapore', flag: 'assets/country_flags/si.png'), _CountryItem(name: context.translate('Singapore','سنغافورة'), flag: 'assets/country_flags/si.png'),
_CountryItem(name: 'Saudi Arabia', flag: 'assets/country_flags/sa.png'), _CountryItem(name: context.translate('Saudi Arabia','المملكة العربية السعودية'), flag: 'assets/country_flags/sa.png'),
], ],
), ),
), ),
@ -147,8 +157,8 @@ class ReportDetailPage extends StatelessWidget {
child: DottedDivider(), child: DottedDivider(),
), ),
_CountryRankingItem( _CountryRankingItem(
title: 'First in Arab Countries', title: context.translate('First in Arab Countries','الأول في دول مجلس التعاون الخليجي'),
country: 'UNITED ARAB EMIRATES', country: context.translate('UNITED ARAB EMIRATES','الإمارات العربية المتحدة'),
flagPath: 'assets/country_flags/ga.png', flagPath: 'assets/country_flags/ga.png',
), ),
], ],
@ -157,6 +167,7 @@ class ReportDetailPage extends StatelessWidget {
], ],
), ),
), ),
),
); );
} }
} }
@ -186,7 +197,7 @@ class _RankingCard extends StatelessWidget {
Text( Text(
title, title,
textAlign: TextAlign.center, textAlign: TextAlign.center,
style: const TextStyle(fontSize: 13, color: Colors.black54), style: TextStyle(fontSize: context.translate(13,11),fontWeight: FontWeight.w500,),
), ),
const SizedBox(height: 4), const SizedBox(height: 4),
Row( Row(
@ -194,8 +205,8 @@ class _RankingCard extends StatelessWidget {
children: [ children: [
Text( Text(
value, value,
style: const TextStyle( style: TextStyle(
fontSize: 36, fontSize: context.translate(36,32),
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
), ),
@ -238,13 +249,13 @@ class _CountryRankingItem extends StatelessWidget {
children: [ children: [
Text( Text(
title, title,
style: const TextStyle(fontSize: 14, color: Colors.black54), style:TextStyle(fontSize: context.translate(14,11), color: Colors.black54),
), ),
const SizedBox(height: 4), const SizedBox(height: 4),
Text( Text(
country, country,
style: const TextStyle( style: TextStyle(
fontSize: 20, fontSize: context.translate(20,18),
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
), ),

View File

@ -14,21 +14,27 @@ class Competitiveness extends StatelessWidget {
if (didPop) return; if (didPop) return;
context.go('/myhomepage'); context.go('/myhomepage');
}, },
child: Theme(
data: ThemeData(
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
),
child: BaseScaffold( child: BaseScaffold(
mytitleColor: Colors.black,
title: Text( title: Text(
context.translate( context.translate(
'UAE Competitiveness', 'UAE Competitiveness',
'تنافسية دولة الإمارات العربية المتحدة', 'تنافسية دولة الإمارات العربية المتحدة',
), ),
style: TextStyle( style: TextStyle(
fontFamily: context.translate( fontSize: context.translate(22, 16),
'Roboto',
'NotoKufi',
)
), ),
), ),
body: CompetitivenessState(context), body: CompetitivenessState(context),
), ),
),
); );
} }
@ -36,59 +42,76 @@ class Competitiveness extends StatelessWidget {
final List<Map<String, dynamic>> reports = [ final List<Map<String, dynamic>> reports = [
{ {
'rank': 44, 'rank': 44,
'title-ar':'تقرير مؤشر الازدهار (2023)',
'title': 'Prosperity Index (2023)', 'title': 'Prosperity Index (2023)',
'logo': 'assets/competitiveness/solo.png', 'logo': 'assets/competitiveness/solo.png',
'borderColor': Colors.blue, 'borderColor': Colors.blue,
}, },
{ {
'rank': 26, 'rank': 26,
'title-ar':'تقرير السعادة العالمية (2023)',
'title': 'World Happiness Report (2023)', 'title': 'World Happiness Report (2023)',
'logo': 'assets/competitiveness/soloo.png', 'logo': 'assets/competitiveness/soloo.png',
'borderColor': Color(0xFF844F36), 'borderColor': Color(0xFF844F36),
}, },
{ {
'rank': 7, 'rank': 7,
'title-ar':'مؤشر أداء الخدمات اللوجستية (2023)',
'title': 'Logistics Performance Index (2023)', 'title': 'Logistics Performance Index (2023)',
'logo': 'assets/competitiveness/solo.png', 'logo': 'assets/competitiveness/solo.png',
'borderColor': Colors.blue, 'borderColor': Colors.blue,
}, },
{ {
'rank': 10, 'rank': 10,
'title-ar':'مؤشر الإرهاب العالمي (2023)',
'title': 'Global Soft Power Index (2023)', 'title': 'Global Soft Power Index (2023)',
'logo': 'assets/competitiveness/soloo.png', 'logo': 'assets/competitiveness/soloo.png',
'borderColor': Colors.blue, 'borderColor': Colors.blue,
}, },
{ {
'rank': 76, 'rank': 76,
'title-ar':'مؤشر الإرهاب العالمي (2023)',
'title': 'Global Terrorism Index (2023)', 'title': 'Global Terrorism Index (2023)',
'logo': 'assets/competitiveness/solo.png', 'logo': 'assets/competitiveness/solo.png',
'borderColor': Color(0xFF844F36), 'borderColor': Color(0xFF844F36),
}, },
{ {
'rank': 10, 'rank': 10,
'title-ar':'الكتاب السنوي للتنافسية العالمية (2023)',
'title': 'The World Competitiveness Yearbook (2023)', 'title': 'The World Competitiveness Yearbook (2023)',
'logo': 'assets/competitiveness/soloo.png', 'logo': 'assets/competitiveness/soloo.png',
'borderColor': Colors.blue, 'borderColor': Colors.blue,
}, },
{ {
'rank': 71, 'rank': 71,
'title-ar':'تقرير الفجوة بين الجنسين العالمية (2023)',
'title': 'Global Gender Gap Report (2023)', 'title': 'Global Gender Gap Report (2023)',
'logo': 'assets/competitiveness/solo.png', 'logo': 'assets/competitiveness/solo.png',
'borderColor': Colors.blue, 'borderColor': Colors.blue,
}, },
{ {
'rank': 29, 'rank': 29,
'title-ar':'مؤشر الأداء الصناعي التنافسي (2023)',
'title': 'Competitive Industrial Performance Index (2023)', 'title': 'Competitive Industrial Performance Index (2023)',
'logo': 'assets/competitiveness/soloo.png', 'logo': 'assets/competitiveness/soloo.png',
'borderColor': Color(0xFF844F36), 'borderColor': Color(0xFF844F36),
}, },
]; ];
Widget rankDivider=Container(
margin: EdgeInsets.all(5),
width: 1,
height: 40,
color: Colors.grey,
);
return Column( return Column(
children: [ children: [
SizedBox(height: 16), SizedBox(height: 16),
Text( Text(
context.translate(
'(22) Competitive Reports', '(22) Competitive Reports',
'التقارير التنافسية (22)',),
style: TextStyle(fontSize: 16, fontWeight: FontWeight.w600), style: TextStyle(fontSize: 16, fontWeight: FontWeight.w600),
), ),
SizedBox(height: 12), SizedBox(height: 12),
@ -126,10 +149,11 @@ class Competitiveness extends StatelessWidget {
), ),
], ],
), ),
const SizedBox(width: 12), const SizedBox(width: 8),
rankDivider,
Expanded( Expanded(
child: Text( child: Text(
report['title'], context.translate(report['title'],report['title-ar']),
style: const TextStyle(fontSize: 14, fontWeight: FontWeight.w500), style: const TextStyle(fontSize: 14, fontWeight: FontWeight.w500),
), ),
), ),