mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-11 17:30:00 +02:00
refactor(ui): restructure widget hierarchy to use Stack for improved layout
This commit is contained in:
1 parent
a60bc6e8bd
commit
8f732edda6
1 file changed
+15
-11
+15
-11
@@ -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!,
|
||||
],
|
||||
);
|
||||
},
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user