feat:更新主题色有些失效的场景
This commit is contained in:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user