|
|
@ -157,11 +157,12 @@ class _HomePageState extends State<HomePage> { |
|
|
right: MySpaces.s16, |
|
|
right: MySpaces.s16, |
|
|
child: SafeArea( |
|
|
child: SafeArea( |
|
|
child: isArabic |
|
|
child: isArabic |
|
|
? Row( |
|
|
|
|
|
|
|
|
? Flex( |
|
|
|
|
|
direction: Axis.horizontal, |
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
children: [ |
|
|
children: [ |
|
|
Expanded( |
|
|
|
|
|
flex: 4, |
|
|
|
|
|
|
|
|
SizedBox( |
|
|
|
|
|
width: 0.48.w, |
|
|
child: MyYellowButton( |
|
|
child: MyYellowButton( |
|
|
onTap: () { |
|
|
onTap: () { |
|
|
context.read<HomeBloc>().goToLevelPage(context); |
|
|
context.read<HomeBloc>().goToLevelPage(context); |
|
|
@ -170,8 +171,8 @@ class _HomePageState extends State<HomePage> { |
|
|
), |
|
|
), |
|
|
), |
|
|
), |
|
|
const SizedBox(width: 20), |
|
|
const SizedBox(width: 20), |
|
|
Expanded( |
|
|
|
|
|
flex: 3, |
|
|
|
|
|
|
|
|
SizedBox( |
|
|
|
|
|
width: 0.38.w, |
|
|
child: MyWhiteButton( |
|
|
child: MyWhiteButton( |
|
|
title: 'تبرع', |
|
|
title: 'تبرع', |
|
|
onTap: () { |
|
|
onTap: () { |
|
|
|