Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-13 11:49:38 +08:00
parent f824477ddb
commit c05fbde3fa
106 changed files with 2780 additions and 3200 deletions

View File

@@ -79,11 +79,10 @@ class _DynamicsPageState extends State<DynamicsPage>
Widget upPanelPart(ThemeData theme) {
bool isTop = upPanelPosition == UpPanelPosition.top;
bool needBg = isTop || upPanelPosition.index > 1;
return Material(
//抽屉模式增加底色
color: isTop || upPanelPosition.index > 1
? theme.colorScheme.surface
: Colors.transparent,
color: needBg ? theme.colorScheme.surface : null,
type: needBg ? MaterialType.canvas : MaterialType.transparency,
child: SizedBox(
width: isTop ? null : 64,
height: isTop ? 76 : null,
@@ -120,6 +119,7 @@ class _DynamicsPageState extends State<DynamicsPage>
: null,
leadingWidth: 50,
toolbarHeight: 50,
backgroundColor: Colors.transparent,
title: SizedBox(
height: 50,
child: TabBar(