Removed GridTileBar accentColor dependency. (#78574)
This commit is contained in:
parent
31e75ec78f
commit
fd37a50ff9
@ -67,12 +67,7 @@ class GridTileBar extends StatelessWidget {
|
||||
end: trailing != null ? 8.0 : 16.0,
|
||||
);
|
||||
|
||||
final ThemeData theme = Theme.of(context);
|
||||
final ThemeData darkTheme = ThemeData(
|
||||
brightness: Brightness.dark,
|
||||
accentColor: theme.accentColor,
|
||||
accentColorBrightness: theme.accentColorBrightness,
|
||||
);
|
||||
final ThemeData darkTheme = ThemeData.dark();
|
||||
return Container(
|
||||
padding: padding,
|
||||
decoration: decoration,
|
||||
|
Loading…
x
Reference in New Issue
Block a user