DrawerHeader: Use highlight color for header background

It's nearly the same color in a light theme, but in a dark theme it
looks way better.
This commit is contained in:
Vishesh Handa
2019-07-29 00:46:29 +02:00
parent c4d9837a05
commit 2606dd1a05

View File

@ -43,7 +43,7 @@ class AppDrawer extends StatelessWidget {
children: <Widget>[ children: <Widget>[
DrawerHeader( DrawerHeader(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Theme.of(context).buttonColor, color: Theme.of(context).highlightColor,
), ),
child: Padding( child: Padding(
padding: const EdgeInsets.all(8.0), padding: const EdgeInsets.all(8.0),