From 2efe7e2e9ac24c9f1cd3263f5c4011272f2374b9 Mon Sep 17 00:00:00 2001 From: sina Date: Sun, 12 Apr 2026 16:07:36 +0330 Subject: [PATCH] fix --- lib/features/home/presentation/ui/home_page.dart | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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: () {