feat:更新主题色有些失效的场景

This commit is contained in:
2025-11-11 21:40:07 +08:00
parent 741d6842b8
commit 4960158dcc
5 changed files with 47 additions and 38 deletions

View File

@@ -7,7 +7,7 @@ class AppDrawer extends StatelessWidget {
DrawerHeader buildDrawerHeader(BuildContext context) {
return DrawerHeader(
decoration: BoxDecoration(color: Theme.of(context).primaryColor),
decoration: BoxDecoration(color: Theme.of(context).colorScheme.primary),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [