Blurry tab background

♻️ Refactored tabs
This commit is contained in:
2025-06-21 21:11:46 +08:00
parent b39248cc58
commit f73cf10a54
10 changed files with 208 additions and 263 deletions

View File

@ -92,7 +92,11 @@ class WindowScaffold extends HookConsumerWidget {
return Stack(
fit: StackFit.expand,
children: [child, _WebSocketIndicator(), AppNotificationToast()],
children: [
Positioned.fill(child: child),
_WebSocketIndicator(),
AppNotificationToast(),
],
);
}
}
@ -112,6 +116,7 @@ class AppScaffold extends StatelessWidget {
final DrawerCallback? onDrawerChanged;
final DrawerCallback? onEndDrawerChanged;
final bool? noBackground;
final bool? extendBody;
const AppScaffold({
super.key,
@ -127,6 +132,7 @@ class AppScaffold extends StatelessWidget {
this.onDrawerChanged,
this.onEndDrawerChanged,
this.noBackground,
this.extendBody,
});
@override
@ -146,7 +152,7 @@ class AppScaffold extends StatelessWidget {
);
return Scaffold(
extendBody: true,
extendBody: extendBody ?? true,
extendBodyBehindAppBar: true,
backgroundColor:
noBackground