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
kC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\arm64-v8a\additional_project_files.txtC
A
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  Ì¢é…û2  äýŸÞø2l
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  øŒµ¬ü2  äýŸÞø2l
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
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
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
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
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
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
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
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
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
mC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\additional_project_files.txtC
A
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  <EFBFBD>£é…û2  åÇ Þø2n
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  ¢<EFBFBD>µ¬ü2  åÇ Þø2n
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
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
`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
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
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
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
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
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
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
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
eC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\additional_project_files.txtC
A
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  <EFBFBD>¤é…û2  ÿò Þø2f
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  û<EFBFBD>µ¬ü2  ÿò Þø2f
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
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
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
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
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
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_
]
[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
`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
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
hC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86_64\additional_project_files.txtC
A
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  ¿¤é…û2  ù”¡Þø2i
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  掵¬ü2  ù”¡Þø2i
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
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
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
`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
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
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
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
`
^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
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
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 {
// TODO: Add your own signing config for the release build.
// 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
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'

View File

@ -8,153 +8,164 @@ class ReportDetailPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return BaseScaffold(
title: Text(
context.translate(
'UAE Competitiveness',
'التقارير التنافسيه لدولة الامارات',
),
style: TextStyle(
fontFamily: context.translate('Roboto', 'NotoKufi'),
return Theme(
data: ThemeData(
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
),
showBackButton: true,
body: SingleChildScrollView(
padding: const EdgeInsets.all(16.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
// Header
Container(
padding: const EdgeInsets.all(12),
decoration: BoxDecoration(
color: Colors.grey.shade100,
borderRadius: BorderRadius.circular(12),
),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Expanded(
child: Text(
'Prosperity Index (2023)',
style: TextStyle(
fontSize: 20,
fontWeight: FontWeight.bold,
child: BaseScaffold(
title: Text(
context.translate(
'UAE Competitiveness',
'التقارير التنافسيه لدولة الامارات',
),
),
showBackButton: true,
body: SingleChildScrollView(
padding: const EdgeInsets.all(16.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
// Header
Container(
padding: const EdgeInsets.all(12),
decoration: BoxDecoration(
color: Colors.grey.shade100,
borderRadius: BorderRadius.circular(12),
),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Expanded(
child: Text(
context.translate(
'Prosperity Index (2023)',
'تقرير مؤشر الازدهار (2023)',
),
style: TextStyle(
fontSize: 20,
fontWeight: FontWeight.bold,
),
),
),
),
Image.asset(
'assets/competitiveness/solo.png',
height: 71,
width: 84,
),
],
),
),
const SizedBox(height: 24),
const Text(
'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.',
style: TextStyle(fontSize: 14),
),
const SizedBox(height: 24),
// Ranking section
Container(
decoration: BoxDecoration(
color: Colors.grey[100],
borderRadius: BorderRadius.circular(12),
),
padding: const EdgeInsets.symmetric(vertical: 12, horizontal: 8),
child: Row(
children: [
Expanded(
child: _RankingCard(
title: 'Rank in 2023',
value: '44',
icon: const Icon(Icons.arrow_downward, color: Colors.red, size: 25),
Image.asset(
'assets/competitiveness/solo.png',
height: 71,
width: 84,
),
),
SizedBox(
height: 60,
width: 1,
child: CustomPaint(
painter: DottedLinePainter(),
),
),
Expanded(
child: _RankingCard(
title: 'vs. Previous Edition',
value: '41',
icon: const SizedBox.shrink(),
),
),
],
],
),
),
),
const SizedBox(height: 24),
const SizedBox(height: 24),
// Country ranking section
Container(
decoration: BoxDecoration(
color: const Color(0xFFF5F5F5),
borderRadius: BorderRadius.circular(12),
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.',
'تم إصدار تقرير مؤشر الازدهار من قبل معهد ليجاتم لأول مرة في عام 2007 ويتم إصداره بشكل سنوي. يقيس التقرير جهود 167 دولة لتعزيز رفاه مواطنيها عبر 12 محور التي تضم 300 مؤشر (منقسمين إلى 192 بيانات إحصائية و108 استبيانات).',
),
style: TextStyle(fontSize: 14),
),
padding: const EdgeInsets.symmetric(vertical: 8),
child: Column(
children: [
_CountryRankingItem(
title: 'First Globally',
country: 'DENMARK',
flagPath: 'assets/country_flags/de.png',
),
const Padding(
padding: EdgeInsets.symmetric(horizontal: 8),
child: DottedDivider(),
),
_CountryRankingItem(
title: 'First in GCC',
country: 'MULTIPLE COUNTRIES',
flagPath: 'assets/competitiveness/multi-frame.jpg',
onTap: () => showDialog(
context: context,
builder: (context) => Dialog(
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(12)),
child: Container(
padding: const EdgeInsets.all(16),
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(12),
),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
_CountryItem(name: 'Argentina', flag: 'assets/country_flags/ar.png'),
_CountryItem(name: 'Bahrain', flag: 'assets/country_flags/ba.png'),
_CountryItem(name: 'Denmark', flag: 'assets/country_flags/de.png'),
_CountryItem(name: 'Finland', flag: 'assets/country_flags/fi.png'),
_CountryItem(name: 'Oman', flag: 'assets/country_flags/am.png'),
_CountryItem(name: 'Singapore', flag: 'assets/country_flags/si.png'),
_CountryItem(name: 'Saudi Arabia', flag: 'assets/country_flags/sa.png'),
],
const SizedBox(height: 24),
// Ranking section
Container(
decoration: BoxDecoration(
color: Colors.grey[100],
borderRadius: BorderRadius.circular(12),
),
padding: const EdgeInsets.symmetric(vertical: 12, horizontal: 8),
child: Row(
children: [
Expanded(
child: _RankingCard(
title: context.translate('Rank in 2023','تقرير مؤشر الازدهار (2023)'),
value: '44',
icon: const Icon(Icons.arrow_downward, color: Colors.red, size: 25),
),
),
SizedBox(
height: 60,
width: 1,
child: CustomPaint(
painter: DottedLinePainter(),
),
),
Expanded(
child: _RankingCard(
title: context.translate('vs. Previous Edition','مقابل الإصدار السابق'),
value: '41',
icon: const SizedBox.shrink(),
),
),
],
),
),
const SizedBox(height: 24),
// Country ranking section
Container(
decoration: BoxDecoration(
color: const Color(0xFFF5F5F5),
borderRadius: BorderRadius.circular(12),
),
padding: const EdgeInsets.symmetric(vertical: 8),
child: Column(
children: [
_CountryRankingItem(
title: context.translate('First Globally','أولاً عالمياً'),
country: context.translate('DENMARK','الدنمارك'),
flagPath: 'assets/country_flags/de.png',
),
const Padding(
padding: EdgeInsets.symmetric(horizontal: 8),
child: DottedDivider(),
),
_CountryRankingItem(
title: 'First in GCC',
country: context.translate('MULTIPLE COUNTRIES','دول متعددة'),
flagPath: 'assets/competitiveness/multi-frame.jpg',
onTap: () => showDialog(
context: context,
builder: (context) => Dialog(
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(12)),
child: Container(
padding: const EdgeInsets.all(16),
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(12),
),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
_CountryItem(name: context.translate('Argentina','الأرجنتين'), flag: 'assets/country_flags/ar.png'),
_CountryItem(name: context.translate('Bahrain','البحرين') ,flag: 'assets/country_flags/ba.png'),
_CountryItem(name: context.translate('Denmark','الدنمارك'), flag: 'assets/country_flags/de.png'),
_CountryItem(name: context.translate('Finland','فنلندا'), flag: 'assets/country_flags/fi.png'),
_CountryItem(name: context.translate('Oman','عمان') ,flag: 'assets/country_flags/am.png'),
_CountryItem(name: context.translate('Singapore','سنغافورة'), flag: 'assets/country_flags/si.png'),
_CountryItem(name: context.translate('Saudi Arabia','المملكة العربية السعودية'), flag: 'assets/country_flags/sa.png'),
],
),
),
),
),
),
),
const Padding(
padding: EdgeInsets.symmetric(horizontal: 8),
child: DottedDivider(),
),
_CountryRankingItem(
title: 'First in Arab Countries',
country: 'UNITED ARAB EMIRATES',
flagPath: 'assets/country_flags/ga.png',
),
],
const Padding(
padding: EdgeInsets.symmetric(horizontal: 8),
child: DottedDivider(),
),
_CountryRankingItem(
title: context.translate('First in Arab Countries','الأول في دول مجلس التعاون الخليجي'),
country: context.translate('UNITED ARAB EMIRATES','الإمارات العربية المتحدة'),
flagPath: 'assets/country_flags/ga.png',
),
],
),
),
),
],
],
),
),
),
);
@ -186,7 +197,7 @@ class _RankingCard extends StatelessWidget {
Text(
title,
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),
Row(
@ -194,8 +205,8 @@ class _RankingCard extends StatelessWidget {
children: [
Text(
value,
style: const TextStyle(
fontSize: 36,
style: TextStyle(
fontSize: context.translate(36,32),
fontWeight: FontWeight.bold,
),
),
@ -238,13 +249,13 @@ class _CountryRankingItem extends StatelessWidget {
children: [
Text(
title,
style: const TextStyle(fontSize: 14, color: Colors.black54),
style:TextStyle(fontSize: context.translate(14,11), color: Colors.black54),
),
const SizedBox(height: 4),
Text(
country,
style: const TextStyle(
fontSize: 20,
style: TextStyle(
fontSize: context.translate(20,18),
fontWeight: FontWeight.bold,
),
),

View File

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