From 8f732edda641ec8635591c5e5d55b08889af3c99 Mon Sep 17 00:00:00 2001 From: GitHub Copilot Date: Thu, 26 Mar 2026 14:56:38 +0100 Subject: [PATCH] refactor(ui): restructure widget hierarchy to use Stack for improved layout --- lib/main.dart | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 6af984a..3450fed 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -26,18 +26,22 @@ class MyApp extends ConsumerWidget { themeMode: themeState.themeMode, routerConfig: router, builder: (context, child) { - return Container( - decoration: BoxDecoration( - gradient: AppColors.grayGlossyGradient, - boxShadow: [ - BoxShadow( - color: Colors.white.withOpacity(0.08), - blurRadius: 40, - spreadRadius: 20, + return Stack( + children: [ + Container( + decoration: BoxDecoration( + gradient: AppColors.grayGlossyGradient, + boxShadow: [ + BoxShadow( + color: Colors.white.withOpacity(0.08), + blurRadius: 40, + spreadRadius: 20, + ), + ], ), - ], - ), - child: child, + ), + child!, + ], ); }, );