competitvness dynamci

This commit is contained in:
Kalonkarthik 2025-07-11 14:51:49 +05:30
parent 5639725886
commit 61fc40f1c1
8 changed files with 145 additions and 77 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  ŸØ•Æþ2  åÇ Þø2n
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  õ˜ÝÅÿ2  åÇ Þø2n
l
jC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\android_gradle_build.json  ŸØ•Æþ2Í ïÇ Þø2s
jC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\android_gradle_build.json  õ˜ÝÅÿ2Í ïÇ Þø2s
q
oC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\android_gradle_build_mini.json  ŸØ•Æþ2  óÇ Þø2`
oC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\android_gradle_build_mini.json  õ˜ÝÅÿ2  óÇ Þø2`
^
\C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\build.ninja   Ø•Æþ2¥Ü ÃÅ Þø2d
\C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\build.ninja  õ˜ÝÅÿ2¥Ü ÃÅ Þø2d
b
`C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\build.ninja.txt   Ø•Æþ2i
`C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\build.ninja.txt  õ˜ÝÅÿ2i
g
eC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\build_file_index.txt   Ø•Æþ2 K ýÇ Þø2j
eC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\build_file_index.txt  õ˜ÝÅÿ2 K ýÇ Þø2j
h
fC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\compile_commands.json   Ø•Æþ2n
fC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\compile_commands.json  õ˜ÝÅÿ2n
l
jC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\compile_commands.json.bin   Ø•Æþ2 t
jC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\compile_commands.json.bin  õ˜ÝÅÿ2 t
r
pC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\metadata_generation_command.txt   Ø•Æþ2
pC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\metadata_generation_command.txt  õ˜ÝÅÿ2
ê øÇ Þø2g
e
cC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\prefab_config.json   Ø•Æþ2  ( ùÇ Þø2l
cC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\prefab_config.json  õ˜ÝÅÿ2  ( ùÇ Þø2l
j
hC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\symbol_folder_index.txt   Ø•Æþ2  _ ùÇ Þø2O
hC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\armeabi-v7a\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 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  ¼Ø•Æþ2  ÿò Þø2f
?com.android.build.gradle.internal.cxx.io.EncodedFileFingerPrint  ’™ÝÅÿ2  ÿò Þø2f
d
bC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\android_gradle_build.json  ¼Ø•Æþ2½ ¤ó Þø2k
bC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\android_gradle_build.json  ’™ÝÅÿ2½ ¤ó Þø2k
i
gC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\android_gradle_build_mini.json  ¼Ø•Æþ2<18> °ó Þø2X
gC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\android_gradle_build_mini.json  ’™ÝÅÿ2<18> °ó Þø2X
V
TC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\build.ninja  ¼Ø•Æþ2ýÛ ³ï Þø2\
TC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\build.ninja  ’™ÝÅÿ2ýÛ ³ï Þø2\
Z
XC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\build.ninja.txt  ¼Ø•Æþ2a
XC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\build.ninja.txt  ’™ÝÅÿ2a
_
]C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\build_file_index.txt  ¼Ø•Æþ2 K Âó Þø2b
]C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\build_file_index.txt  ’™ÝÅÿ2 K Âó Þø2b
`
^C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\compile_commands.json  ¼Ø•Æþ2f
^C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\compile_commands.json  ’™ÝÅÿ2f
d
bC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\compile_commands.json.bin  ¼Ø•Æþ2 l
bC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\compile_commands.json.bin  ’™ÝÅÿ2 l
j
hC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\metadata_generation_command.txt  ¼Ø•Æþ2
hC:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\metadata_generation_command.txt  ’™ÝÅÿ2
 ´ó Þø2_
]
[C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\prefab_config.json  ¼Ø•Æþ2  ( ´ó Þø2d
[C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\prefab_config.json  ’™ÝÅÿ2  ( ´ó Þø2d
b
`C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\symbol_folder_index.txt  ¼Ø•Æþ2  W ¹ó Þø2O
`C:\Flutter Applications\Git_New\FCSC\android\app\.cxx\Debug\29y7472m\x86\symbol_folder_index.txt  ’™ÝÅÿ2  W ¹ó Þø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 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -672,7 +672,9 @@ final GoRouter router = GoRouter(
path: '/reportDetail',
builder: (context, state) {
final report = state.extra as Map<String, dynamic>;
return ReportDetailPage();
return ReportDetailPage(
title:report['title']!,
);
},
),

View File

@ -4,10 +4,61 @@ import 'package:uae_stat/domain/use_cases/language.dart';
import 'package:uae_stat/presentation/routes/drawer_routes/custom_drawer_routes.dart';
class ReportDetailPage extends StatelessWidget {
const ReportDetailPage({super.key});
final String title;
ReportDetailPage({super.key, required this.title});
@override
Widget build(BuildContext context) {
late String rank;
late String edition;
late String para;
final List<Map<String, dynamic>> contentData=[
{
'title':context.translate('Prosperity Index (2023)', 'تقرير مؤشر الازدهار (2023)',),'rank':'44' ,'edition':'41','content': 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 استبيانات).',
),
},
{
'title':context.translate('World Happiness Report (2023)', 'تقرير مؤشر الازدهار (2023)',),'rank':'24' ,'edition':'26','content': context.translate(
'The World Happiness Report was first published in 2012, by the United Nations Sustainable Development Solutions Network (UNSDSN).',
'تقرير السعادة العالمية يصدر سنوياً عن شبكة تنمية الحلول المستدامة التابعة للأمانة العامة للأمم المتحدة.',
),
},
{
'title':context.translate('Logistics Performance Index (2023)', 'تقرير مؤشر الازدهار (2023)',),'rank':'7' ,'edition':'11','content': context.translate(
'The Logistics Performance Index (LPI) report is a tool developed by the World Bank to measure a country\'s logistics performance. The report uses a range of indicators such as customs performance, infrastructure quality, and logistics competence to assess a countrys logistics strengths and weaknesses. The latest report highlights the importance of efficient logistics systems for economic growth and competitiveness, and emphasizes the need for investment in infrastructure and digitalization. The LPI report is a valuable resource for policymakers and businesses looking to understand a country\'s logistics performance and identify areas for improvement.',
'تقرير مؤشر أداء الخدمات اللوجستية (LPI) هو أداة طورها البنك الدولي لقياس أداء الخدمات اللوجستية في بلد ما. يستخدم التقرير مجموعة من المؤشرات مثل أداء الجمارك ، وجودة البنية التحتية ، والكفاءة اللوجستية لتقييم نقاط القوة والضعف اللوجستية للبلد. يسلط التقرير الأخير الضوء على أهمية النظم اللوجستية الفعالة للنمو الاقتصادي والقدرة التنافسية ، ويؤكد على الحاجة إلى الاستثمار في البنية التحتية والرقمنة. يعد تقرير LPI مورداً قيماً لواضعي السياسات والشركات التي تتطلع إلى فهم الأداء اللوجستي للبلد وتحديد مجالات التحسين.'
),
},
];
void ContentChange(){
rank = '';
edition = '';
para = '';
for (var content in contentData){
print('${content['title']} and $title are finout');
if(content['title']==title){
rank=content['rank'];
edition=content['edition'];
para=content['content'];
print('competiviness change $edition and $rank');
}else {
rank='40';
edition='41';
para= 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 استبيانات).',
);
}
}
}
ContentChange();
return Theme(
data: ThemeData(
fontFamily: context.translate(
@ -32,7 +83,7 @@ class ReportDetailPage extends StatelessWidget {
Container(
padding: const EdgeInsets.all(12),
decoration: BoxDecoration(
color: Colors.grey.shade100,
color: Color(0xFFF5F5F5),
borderRadius: BorderRadius.circular(12),
),
child: Row(
@ -40,10 +91,11 @@ class ReportDetailPage extends StatelessWidget {
children: [
Expanded(
child: Text(
context.translate(
'Prosperity Index (2023)',
'تقرير مؤشر الازدهار (2023)',
),
title,
// context.translate(
// 'Prosperity Index (2023)',
// 'تقرير مؤشر الازدهار (2023)',
// ),
style: TextStyle(
fontSize: 20,
fontWeight: FontWeight.bold,
@ -60,28 +112,28 @@ class ReportDetailPage extends StatelessWidget {
),
const SizedBox(height: 24),
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 استبيانات).',
SizedBox(
height: MediaQuery.of(context).size.height*0.2,
child: Text(
para,
style: TextStyle(fontSize: 14),
),
style: TextStyle(fontSize: 14),
),
const SizedBox(height: 24),
// Ranking section
Container(
decoration: BoxDecoration(
color: Colors.grey[100],
color: Color(0xFFF5F5F5),
borderRadius: BorderRadius.circular(12),
),
padding: const EdgeInsets.symmetric(vertical: 12, horizontal: 8),
padding: const EdgeInsets.symmetric(vertical: 3, horizontal: 8),
child: Row(
children: [
Expanded(
child: _RankingCard(
title: context.translate('Rank in 2023','تقرير مؤشر الازدهار (2023)'),
value: '44',
value: rank,
icon: const Icon(Icons.arrow_downward, color: Colors.red, size: 25),
),
),
@ -95,7 +147,7 @@ class ReportDetailPage extends StatelessWidget {
Expanded(
child: _RankingCard(
title: context.translate('vs. Previous Edition','مقابل الإصدار السابق'),
value: '41',
value: edition,
icon: const SizedBox.shrink(),
),
),
@ -125,7 +177,7 @@ class ReportDetailPage extends StatelessWidget {
_CountryRankingItem(
title: 'First in GCC',
country: context.translate('MULTIPLE COUNTRIES','دول متعددة'),
flagPath: 'assets/competitiveness/multi-frame.jpg',
flagPath: 'assets/competitiveness/multi.png',
onTap: () => showDialog(
context: context,
builder: (context) => Dialog(
@ -190,7 +242,7 @@ class _RankingCard extends StatelessWidget {
width: 160,
padding: const EdgeInsets.all(12),
decoration: BoxDecoration(
color: Colors.grey[100],
color: Color(0xFFF5F5F5),
),
child: Column(
children: [
@ -249,7 +301,7 @@ class _CountryRankingItem extends StatelessWidget {
children: [
Text(
title,
style:TextStyle(fontSize: context.translate(14,11), color: Colors.black54),
style:TextStyle(fontSize: context.translate(14,11), color: Colors.black),
),
const SizedBox(height: 4),
Text(
@ -263,17 +315,29 @@ class _CountryRankingItem extends StatelessWidget {
),
),
const SizedBox(width: 16),
ClipOval(
child: Container(
width: 50,
height: 50,
decoration: const BoxDecoration(
shape: BoxShape.circle,
color: Colors.transparent,
),
child: Image.asset(flagPath, width: 50, height: 50, fit: BoxFit.cover),
Container(
padding: EdgeInsets.zero,
decoration: BoxDecoration(
shape: BoxShape.circle,
border: Border.all(color: Colors.white, width: 3),
),
child: CircleAvatar(
radius: 20,
backgroundImage: AssetImage(flagPath,),
),
),
// ClipOval(
// child: Container(
// width: 50,
// height: 50,
// decoration: const BoxDecoration(
// shape: BoxShape.circle,
// color: Colors.transparent,
// ),
// child: Image.asset(flagPath, width: 50, height: 50, fit: BoxFit.cover),
// ),
// ),
],
),
),

View File

@ -125,7 +125,9 @@ class Competitiveness extends StatelessWidget {
child: InkWell(
onTap: () {
// Navigate to detail page with arguments
context.push('/reportDetail', extra: report);
context.push('/reportDetail', extra:{
'title':context.translate(report['title'],report['title-ar']),
});
},
child: Container(
decoration: BoxDecoration(