|
@ -5,6 +5,7 @@ import 'package:go_router/go_router.dart'; |
|
|
import 'package:google_fonts/google_fonts.dart'; |
|
|
import 'package:google_fonts/google_fonts.dart'; |
|
|
import 'package:hadi_hoda_flutter/common_ui/resources/my_assets.dart'; |
|
|
import 'package:hadi_hoda_flutter/common_ui/resources/my_assets.dart'; |
|
|
import 'package:hadi_hoda_flutter/common_ui/theme/my_theme.dart'; |
|
|
import 'package:hadi_hoda_flutter/common_ui/theme/my_theme.dart'; |
|
|
|
|
|
import 'package:hadi_hoda_flutter/core/utils/check_platform.dart'; |
|
|
import 'package:hadi_hoda_flutter/core/utils/my_image.dart'; |
|
|
import 'package:hadi_hoda_flutter/core/utils/my_image.dart'; |
|
|
import 'package:hadi_hoda_flutter/core/utils/my_localization.dart'; |
|
|
import 'package:hadi_hoda_flutter/core/utils/my_localization.dart'; |
|
|
import 'package:hadi_hoda_flutter/core/widgets/about_us_dialog/styles/background.dart'; |
|
|
import 'package:hadi_hoda_flutter/core/widgets/about_us_dialog/styles/background.dart'; |
|
@ -29,7 +30,13 @@ class AboutUsDialog extends StatelessWidget { |
|
|
filter: ImageFilter.blur(sigmaX: 6, sigmaY: 6), |
|
|
filter: ImageFilter.blur(sigmaX: 6, sigmaY: 6), |
|
|
child: Center( |
|
|
child: Center( |
|
|
child: Padding( |
|
|
child: Padding( |
|
|
padding: const EdgeInsets.symmetric(horizontal: 18), |
|
|
|
|
|
|
|
|
padding: EdgeInsets.symmetric( |
|
|
|
|
|
horizontal: checkSize( |
|
|
|
|
|
context: context, |
|
|
|
|
|
mobile: 18, |
|
|
|
|
|
tablet: 120, |
|
|
|
|
|
) ?? 0, |
|
|
|
|
|
), |
|
|
child: Stack( |
|
|
child: Stack( |
|
|
clipBehavior: Clip.none, |
|
|
clipBehavior: Clip.none, |
|
|
children: [ |
|
|
children: [ |
|
@ -41,7 +48,11 @@ class AboutUsDialog extends StatelessWidget { |
|
|
context.translate.about_us, |
|
|
context.translate.about_us, |
|
|
style: GoogleFonts.marhey( |
|
|
style: GoogleFonts.marhey( |
|
|
color: Color(0XFF322386), |
|
|
color: Color(0XFF322386), |
|
|
fontSize: 22, |
|
|
|
|
|
|
|
|
fontSize: checkSize( |
|
|
|
|
|
context: context, |
|
|
|
|
|
mobile: 22, |
|
|
|
|
|
tablet: 30, |
|
|
|
|
|
), |
|
|
fontWeight: FontWeight.w600, |
|
|
fontWeight: FontWeight.w600, |
|
|
), |
|
|
), |
|
|
), |
|
|
), |
|
@ -49,12 +60,17 @@ class AboutUsDialog extends StatelessWidget { |
|
|
context.translate.about_us_desc, |
|
|
context.translate.about_us_desc, |
|
|
style: GoogleFonts.marhey( |
|
|
style: GoogleFonts.marhey( |
|
|
color: Color(0XFF494178), |
|
|
color: Color(0XFF494178), |
|
|
fontSize: 16, |
|
|
|
|
|
|
|
|
fontSize: checkSize( |
|
|
|
|
|
context: context, |
|
|
|
|
|
mobile: 16, |
|
|
|
|
|
tablet: 21, |
|
|
|
|
|
), |
|
|
fontWeight: FontWeight.w500, |
|
|
fontWeight: FontWeight.w500, |
|
|
), |
|
|
), |
|
|
), |
|
|
), |
|
|
MyImage( |
|
|
MyImage( |
|
|
image: MyAssets.newHorizon, |
|
|
image: MyAssets.newHorizon, |
|
|
|
|
|
size: 70, |
|
|
), |
|
|
), |
|
|
MyImage( |
|
|
MyImage( |
|
|
image: MyAssets.khadijeLogo, |
|
|
image: MyAssets.khadijeLogo, |
|
@ -63,22 +79,37 @@ class AboutUsDialog extends StatelessWidget { |
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
spacing: 20, |
|
|
spacing: 20, |
|
|
children: [ |
|
|
children: [ |
|
|
MyImage(image: MyAssets.facebook, size: 33), |
|
|
|
|
|
MyImage(image: MyAssets.instagram, size: 33), |
|
|
|
|
|
MyImage(image: MyAssets.whatsapp, size: 33), |
|
|
|
|
|
MyImage(image: MyAssets.youtube, size: 33), |
|
|
|
|
|
|
|
|
MyImage( |
|
|
|
|
|
image: MyAssets.facebook, |
|
|
|
|
|
size: checkSize(context: context, mobile: 33, tablet: 46), |
|
|
|
|
|
), |
|
|
|
|
|
MyImage( |
|
|
|
|
|
image: MyAssets.instagram, |
|
|
|
|
|
size: checkSize(context: context, mobile: 33, tablet: 46), |
|
|
|
|
|
), |
|
|
|
|
|
MyImage( |
|
|
|
|
|
image: MyAssets.whatsapp, |
|
|
|
|
|
size: checkSize(context: context, mobile: 33, tablet: 46), |
|
|
|
|
|
), |
|
|
|
|
|
MyImage( |
|
|
|
|
|
image: MyAssets.youtube, |
|
|
|
|
|
size: checkSize(context: context, mobile: 33, tablet: 46), |
|
|
|
|
|
), |
|
|
], |
|
|
], |
|
|
), |
|
|
), |
|
|
], |
|
|
], |
|
|
), |
|
|
), |
|
|
), |
|
|
), |
|
|
Positioned( |
|
|
Positioned( |
|
|
right: 30, |
|
|
|
|
|
|
|
|
right: checkSize(context: context, mobile: 30, tablet: 40), |
|
|
top: -12, |
|
|
top: -12, |
|
|
child: GestureDetector( |
|
|
child: GestureDetector( |
|
|
onTap: context.pop, |
|
|
onTap: context.pop, |
|
|
behavior: HitTestBehavior.opaque, |
|
|
behavior: HitTestBehavior.opaque, |
|
|
child: MyImage(image: MyAssets.closeBtn, size: 40), |
|
|
|
|
|
|
|
|
child: MyImage( |
|
|
|
|
|
image: MyAssets.closeBtn, |
|
|
|
|
|
size: checkSize(context: context, mobile: 40, tablet: 60), |
|
|
|
|
|
), |
|
|
), |
|
|
), |
|
|
), |
|
|
), |
|
|
], |
|
|
], |
|
|