diff --git a/lib/features/home/presentation/ui/home_page.dart b/lib/features/home/presentation/ui/home_page.dart index 587e8bf..a054073 100644 --- a/lib/features/home/presentation/ui/home_page.dart +++ b/lib/features/home/presentation/ui/home_page.dart @@ -157,11 +157,12 @@ class _HomePageState extends State { right: MySpaces.s16, child: SafeArea( child: isArabic - ? Row( + ? Flex( + direction: Axis.horizontal, mainAxisAlignment: MainAxisAlignment.center, children: [ - Expanded( - flex: 4, + SizedBox( + width: 0.48.w, child: MyYellowButton( onTap: () { context.read().goToLevelPage(context); @@ -170,8 +171,8 @@ class _HomePageState extends State { ), ), const SizedBox(width: 20), - Expanded( - flex: 3, + SizedBox( + width: 0.38.w, child: MyWhiteButton( title: 'تبرع', onTap: () {