uaestats_fe/lib/presentation/Screens/auth_verification/terms&conditions.dart
2025-04-16 13:07:46 +05:30

883 lines
42 KiB
Dart
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:uae_stat/domain/use_cases/language.dart';
import 'package:uae_stat/infrastructure/services/img_asset_paths/banner_asset_path.dart';
import 'package:uae_stat/presentation/routes/drawer_routes/custom_drawer_routes.dart';
class TermsOfUse extends StatelessWidget {
TermsOfUse({super.key});
final fcscBanner = Image.asset(
BannerAssetPath.fcsc,
height: 40,
alignment: Alignment.center,
);
@override
Widget build(BuildContext context) {
return Theme(
data: ThemeData(
fontFamily: context.translate(
'Roboto',
'NotoKufi',
), // Set default font family for this page
textTheme: TextTheme(
bodyMedium: TextStyle(fontSize: 16, color:Color(0xFF898C81),fontFamily: context.translate(
'Roboto',
'NotoKufi',
),),
bodyLarge: TextStyle(fontSize: 16, color:Color(0xFF414042), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),fontWeight: FontWeight.w500),
),
),
child: Scaffold(
appBar: AppBar(
leading: IconButton(
icon: Icon(Icons.arrow_back_ios_new,size: 24,),
onPressed: (){
context.pop();
},
),
scrolledUnderElevation: 0,
title:Text(context.translate(
'Terms & Conditions',
'الشروط والأحكام',
),
style: TextStyle(
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
fontSize:22,
color: Colors.black87,
fontWeight: FontWeight.w600,
// fontWeight: FontWeight.w500,
),
),
backgroundColor: Colors.white,
bottom: PreferredSize(
preferredSize: Size.fromHeight(1), // Height of the line
child: Container(
color: Colors.grey.shade300, // Line color
height: 1, // Line thickness
),
),
),
body: Container(
height: double.infinity,
color: Colors.white,
padding: EdgeInsets.all(16),
child: SingleChildScrollView(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Align(
alignment: Alignment.topLeft,
child: Text(
context.translate(
'Welcome to UAE.Stat Terms of Use'
, 'مؤسسة المشاع الإبداعي نَسْبُ الـمُصنَّف 4.0 رخصة عمومية دولية'),
style:
TextStyle(
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
fontSize:20,
color: Color(0xFF414042),
fontWeight: FontWeight.w600,
),),
),
SizedBox(height: 7),
RichText(
text: TextSpan(
text: context.translate(
'The data and information available through UAE.Stat are subject to ',
'يخضع المحتوى والبيانات المتاحة من خلال UAE.Stat',
),
style: TextStyle(
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
fontSize: 16,
color: Color(0xFF898C81),
height: 1.4,
),
children: [
TextSpan(
text: context.translate(
'Creative Commons Attribution ',
'لرخصة المشاع الإبداعي نَسْبُ المُصنَّف ',
),
style: TextStyle(
fontWeight: FontWeight.w500,
color: Color(0xFF414042),
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
),
),
TextSpan(
text: context.translate(
'(CC BY 4.0)',
'(CC BY 4.0)،',
),
style: TextStyle(
color: Color(0xFF414042), // No bold
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
),
),
TextSpan(
text: context.translate(
' This means that the content of this site can be used and reused freely for commercial and non-commercial purposes.You are free to: ',
'مما يعني أنه يمكن استخدامه وإعادة استخدامه بحرية للأغراض التجارية وغير التجارية.يُسمح لك بـ:',
),
),
],
),
),
SizedBox(height: 10),
Text(context.translate(
'1.Terms of Use',
'1.الشروط والأحكام',
),
style: TextStyle(
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
fontSize:20,
color: Colors.black87,
fontWeight: FontWeight.w600,
// fontWeight: FontWeight.w500,
),
),
SizedBox(height: 5),
Text(
context.translate('You are free to:', 'يُسمح لك بـ:'),
style: TextStyle(fontSize: 16, color:Color(0xFF414042), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),fontWeight: FontWeight.w500),
),
Padding(padding: EdgeInsets.only(left: 10,top: 5, bottom: 7),
child: Column(
children: [
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(top : 8.0),
child: Icon(Icons.brightness_1, size: 5, color: Color(0xFF414042),),
), // Bullet point
SizedBox(width: 8), // Space between bullet and text
Expanded(
child: RichText(
text: TextSpan(
style: TextStyle(fontSize: 16, color: Color(0xFF898C81), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),),
children: <TextSpan>[
TextSpan(text: context.translate('Share ',
'المشاركة '),
style: TextStyle(
fontWeight: FontWeight.w500,
color: Color(0xFF414042),
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
),),
TextSpan(text:context.translate(' Copy and redistribute the material in any medium or format.',
'نسخ وإعادة توزيع المحتوى بأي وسيلة أو صيغة.',
))
],
),
),
),
],
),
SizedBox(height: 3),
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(top : 8.0),
child: Icon(Icons.brightness_1, size: 5, color: Color(0xFF414042),),
), // Bullet point
SizedBox(width: 8), // Space between bullet and text
Expanded(
child: RichText(
text: TextSpan(
style: TextStyle(fontSize: 16, color: Color(0xFF898C81), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),),
children: <TextSpan>[
TextSpan(text:context.translate( 'Adapt ',
'التعديل '),
style: TextStyle(
fontWeight: FontWeight.w500,
color: Color(0xFF414042),
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
),),
TextSpan(text:context.translate( 'Remix, transform, and build upon the material for any purpose, even commercially.',
'إعادة مزج، تعديل، أو البناء على المحتوى لأي غرض، بما في ذلك الأغراض التجارية.'),
)
],
),
),
),
],
),
],
),
),
Text( context.translate(
'The licensor cannot revoke these freedoms as long as you follow the license terms',
'لا يمكن للمرخِّص إلغاء هذه الحريات طالما أنك تتبع شروط الترخيص.')),
SizedBox(height: 8),
Text(
context.translate(
'2.License Terms'
, '2.شروط الترخيص',),
style:
TextStyle(
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
fontSize:20,
color: Color(0xFF414042),
fontWeight: FontWeight.w600,
),),
SizedBox(height: 5),
Text(
context.translate('Under the following terms:', 'وفقًا للشروط التالية:'),
style: TextStyle(fontSize: 16, color:Color(0xFF414042), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),fontWeight: FontWeight.w500),
),
SizedBox(height: 5),
Padding(padding: EdgeInsets.only(left: 10,top: 5, bottom: 7),
child: Column(
children: [
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(top : 8.0),
child: Icon(Icons.brightness_1, size: 5, color: Color(0xFF414042),),
), // Bullet point
SizedBox(width: 8), // Space between bullet and text
Expanded(
child: RichText(
text: TextSpan(
style: TextStyle(fontSize: 16, color: Color(0xFF898C81), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),),
children: <TextSpan>[
TextSpan(text: context.translate('Attribution ',' نَسْب المُصنَّف'),
style: TextStyle(
fontWeight: FontWeight.w500,
color: Color(0xFF414042),
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
),),
TextSpan(
text: context.translate(
' Copy and redistribute the material in any medium or format.',
'يجب أن توفر الإسناد المناسب، وتضع رابط الترخيص، وتُوضِّح أي تعديلات أُجريت على المحتوى.',
),
),
],
),
),
),
],
),
SizedBox(height: 3),
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(top : 8.0),
child: Icon(Icons.brightness_1, size: 5, color: Color(0xFF414042),),
), // Bullet point
SizedBox(width: 8), // Space between bullet and text
Expanded(
child: RichText(
text: TextSpan(
style: TextStyle(fontSize: 16, color: Color(0xFF898C81), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),),
children: <TextSpan>[
TextSpan(text: context.translate('No additional restrictions ','عدم فرض قيود إضافية '),
style: TextStyle(
fontWeight: FontWeight.w500,
color: Color(0xFF414042),
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
),),
TextSpan(
text: context.translate(
'You may not impose legal or technological measures that restrict others from using the content as permitted.',
'لا يجوز فرض قيود قانونية أو تكنولوجية تحد من إمكانية استخدام المحتوى كما هو مسموح به في الترخيص.'
),
),
],
),
),
),
],
),
],
),
),
SizedBox(height: 8),
Text(
context.translate(
'3.License Scope'
, '3.نطاق الترخيص',),
style:
TextStyle(
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
fontSize:20,
color: Color(0xFF414042),
fontWeight: FontWeight.w600,
),),
SizedBox(height: 5),
Text(
context.translate('The Licensor grants you:', 'يمنحك المرخِّص:'),
style: TextStyle(fontSize: 16, color:Color(0xFF414042), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),fontWeight: FontWeight.w400),
),
SizedBox(height: 5),
Padding(padding: EdgeInsets.only(left: 10,top: 5, bottom: 7),
child: Column(
children: [
Text(
context.translate('A worldwide, royalty-free, non-exclusive, irrevocable license to:',
'ترخيصًا عالميًا، خاليًا من الإتاوات، غير حصري، وغير قابل للإلغاء لـ:'),
style: TextStyle(fontSize: 16, color:Color(0xFF414042), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),fontWeight: FontWeight.w400),
),
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(top : 8.0),
child: Icon(Icons.brightness_1, size: 5, color: Color(0xFF414042),),
), // Bullet point
SizedBox(width: 8), // Space between bullet and text
Expanded(
child: RichText(
text: TextSpan(
style: TextStyle(fontSize: 16, color: Color(0xFF898C81), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),),
children: <TextSpan>[
TextSpan(text: context.translate('Reproduce and share ','نسخ ومشاركة '),
style: TextStyle(
fontWeight: FontWeight.w400,
color: Color(0xFF414042),
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
),),
TextSpan(
text: context.translate(
'the licensed material.',
'المواد المرخَّصة',
),
),
],
),
),
),
],
),
SizedBox(height: 3),
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(top : 8.0),
child: Icon(Icons.brightness_1, size: 5, color: Color(0xFF414042),),
), // Bullet point
SizedBox(width: 8), // Space between bullet and text
Expanded(
child: RichText(
text: TextSpan(
style: TextStyle(fontSize: 16, color: Color(0xFF898C81), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),),
children: <TextSpan>[
TextSpan(text: context.translate('Modify and create ','تعديل وإنشاء '),
style: TextStyle(
fontWeight: FontWeight.w400,
color: Color(0xFF414042),
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
),),
TextSpan(
text: context.translate(
'adapted material.',
'مواد مشتقة من المحتوى',
),
),
],
),
),
),
],
),
],
),
),
Text(context.translate('This license applies to all media formats, including future technologies.',
'ينطبق هذا الترخيص على جميع الوسائط والصيغ، بما في ذلك التقنيات المستقبلية.',),
style: TextStyle(fontSize: 16, color:Color(0xFF414042), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),fontWeight: FontWeight.w400),
),
SizedBox(height: 8),
Text(
context.translate(
'4.Restrictions & Endorsement'
, '4.القيود والمصادقة',),
style:
TextStyle(
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
fontSize:20,
color: Color(0xFF414042),
fontWeight: FontWeight.w600,
),),
SizedBox(height: 5),
Padding(padding: EdgeInsets.only(left: 10,top: 5, bottom: 7),
child: Column(
children: [
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(top : 8.0),
child: Icon(Icons.brightness_1, size: 5, color: Color(0xFF414042),),
), // Bullet point
SizedBox(width: 8), // Space between bullet and text
Expanded(
child: RichText(
text: TextSpan(
style: TextStyle(fontSize: 16, color: Color(0xFF898C81), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),),
children: <TextSpan>[
TextSpan(text: context.translate('No Endorsement ','عدم المصادقة '),
style: TextStyle(
fontWeight: FontWeight.w500,
color: Color(0xFF414042),
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
),),
TextSpan(
text: context.translate(
'You may not imply that the licensor endorses you or your use of the content.',
'لا يجوز لك الإيحاء بأن المرخِّص يدعمك أو يدعم استخدامك للمحتوى.',
),
),
],
),
),
),
],
),
SizedBox(height: 3),
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(top : 8.0),
child: Icon(Icons.brightness_1, size: 5, color: Color(0xFF414042),),
), // Bullet point
SizedBox(width: 8), // Space between bullet and text
Expanded(
child: RichText(
text: TextSpan(
style: TextStyle(fontSize: 16, color: Color(0xFF898C81), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),),
children: <TextSpan>[
TextSpan(text: context.translate('No Patent or Trademark Rights ','التجارية '),
style: TextStyle(
fontWeight: FontWeight.w500,
color: Color(0xFF414042),
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
),),
TextSpan(
text: context.translate(
'This license does not grant any patent or trademark rights.',
'لا يمنحك هذا الترخيص أي حقوق على براءات الاختراع أو العلامات التجارية.',
),
),
],
),
),
),
],
),
],
),
),
SizedBox(height: 8),
Text(
context.translate(
'5.Liability Disclaimer'
, '5.إخلاء المسؤولية',),
style:
TextStyle(
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
fontSize:20,
color: Color(0xFF414042),
fontWeight: FontWeight.w600,
),),
SizedBox(height: 5),
Padding(padding: EdgeInsets.only(left: 10,top: 5, bottom: 7),
child: Column(
children: [
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(top : 8.0),
child: Icon(Icons.brightness_1, size: 5, color: Color(0xFF414042),),
), // Bullet point
SizedBox(width: 8), // Space between bullet and text
Expanded(
child: RichText(
text: TextSpan(
text: context.translate('The content is provided ','دون أي ضمانات '),
style: TextStyle(fontSize: 16, color: Color(0xFF898C81), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),),
children: <TextSpan>[
TextSpan(text: context.translate('"as is" ', '"كما هو" '),
style: TextStyle(
fontWeight: FontWeight.w400,
color: Color(0xFF414042),
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
),),
TextSpan(
text: context.translate(
'without any warranties.',
'يتم توفير المحتوى.'
),
),
],
),
),
),
],
),
SizedBox(height: 3),
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(top : 8.0),
child: Icon(Icons.brightness_1, size: 5, color: Color(0xFF414042),),
), // Bullet point
SizedBox(width: 8), // Space between bullet and text
Expanded(
child: RichText(
text: TextSpan(
text: context.translate('The Licensor is ','دون أي ضمانات '),
style: TextStyle(fontSize: 16, color: Color(0xFF898C81), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),),
children: <TextSpan>[
TextSpan(text: context.translate('not responsible ', 'أي مسؤولية '),
style: TextStyle(
fontWeight: FontWeight.w400,
color: Color(0xFF414042),
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
),),
TextSpan(
text: context.translate(
'for any damages resulting from the use of the content.',
'عن أي أضرار تنتج عن استخدام المحتوى.'
),
),
],
),
),
),
],
),
],
),
),
SizedBox(height: 8),
Text(
context.translate(
'6.Termination of License'
, '7.إنهاء الترخيص',),
style:
TextStyle(
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
fontSize:20,
color: Color(0xFF414042),
fontWeight: FontWeight.w600,
),),
SizedBox(height: 5),
Padding(padding: EdgeInsets.only(left: 10,top: 5, bottom: 7),
child: Column(
children: [
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(top : 8.0),
child: Icon(Icons.brightness_1, size: 5, color: Color(0xFF414042),),
), // Bullet point
SizedBox(width: 8), // Space between bullet and text
Expanded(
child: RichText(
text: TextSpan(
text: context.translate('If you ','إذا '),
style: TextStyle(fontSize: 16, color: Color(0xFF898C81), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),),
children: <TextSpan>[
TextSpan(text: context.translate('violate the license terms ', 'انتهكت شروط الترخيص، '),
style: TextStyle(
fontWeight: FontWeight.w400,
color: Color(0xFF414042),
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
),),
TextSpan(
text: context.translate(
', your rights under this license terminate automatically.',
'فستنتهي حقوقك تلقائيًا.'
),
),
],
),
),
),
],
),
SizedBox(height: 3),
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(top : 8.0),
child: Icon(Icons.brightness_1, size: 5, color: Color(0xFF414042),),
), // Bullet point
SizedBox(width: 8), // Space between bullet and text
Expanded(
child: RichText(
text: TextSpan(
text: context.translate('Rights may be reinstated ','يمكن استعادة الحقوق '),
style: TextStyle(fontSize: 16, color: Color(0xFF898C81), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),),
children: <TextSpan>[
TextSpan(text: context.translate('if the violation is corrected within 30 days.', 'إذا تم تصحيح الانتهاك خلال 30 يومًا. '),
style: TextStyle(
fontWeight: FontWeight.w400,
color: Color(0xFF414042),
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
),),
],
),
),
),
],
),
],
),
),
SizedBox(height: 8),
Text(
context.translate(
'7.Other Terms'
, '7.شروط إضافية',),
style:
TextStyle(
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
fontSize:20,
color: Color(0xFF414042),
fontWeight: FontWeight.w600,
),),
SizedBox(height: 5),
Padding(padding: EdgeInsets.only(left: 10,top: 5, bottom: 7),
child: Column(
children: [
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(top : 8.0),
child: Icon(Icons.brightness_1, size: 5, color: Color(0xFF414042),),
), // Bullet point
SizedBox(width: 8), // Space between bullet and text
Expanded(
child: RichText(
text: TextSpan(
text: context.translate('The Licensor is not bound by ','لا يكون المرخِّص ملزمًا '),
style: TextStyle(fontSize: 16, color: Color(0xFF898C81), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),),
children: <TextSpan>[
TextSpan(text: context.translate('any additional terms ', 'بأي شروط إضافية '),
style: TextStyle(
fontWeight: FontWeight.w400,
color: Color(0xFF414042),
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
),),
TextSpan(
text: context.translate(
'unless explicitly agreed.',
' ما لم يتم الاتفاق عليها صراحةً.'
),
),
],
),
),
),
],
),
SizedBox(height: 3),
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(top : 8.0),
child: Icon(Icons.brightness_1, size: 5, color: Color(0xFF414042),),
), // Bullet point
SizedBox(width: 8), // Space between bullet and text
Expanded(
child: RichText(
text: TextSpan(
text: context.translate('If any provision is ','لا يكون المرخِّص ملزمًا '),
style: TextStyle(fontSize: 16, color: Color(0xFF898C81), fontFamily: context.translate(
'Roboto',
'NotoKufi',
),),
children: <TextSpan>[
TextSpan(text: context.translate('unenforceable,', 'أي شرط غير قابل للتنفيذ، '),
style: TextStyle(
fontWeight: FontWeight.w400,
color: Color(0xFF414042),
fontFamily: context.translate(
'Roboto',
'NotoKufi',
),
),),
TextSpan(
text: context.translate(
'the rest of the terms remain in effect.',
' تبقى بقية الشروط سارية المفعول.'
),
),
],
),
),
),
],
),
],
),
),
SizedBox(height: 10),
Center(child: fcscBanner),
SizedBox(height: 20),
],
),
),
),
)
,);
}
}