Pick a default theme brightness
There doesn't seem to be any particular reason for us to not default the brightness to _something_.
This commit is contained in:
parent
8f4db36652
commit
37cf87f009
@ -12,7 +12,7 @@ enum ThemeBrightness { dark, light }
|
||||
class ThemeData {
|
||||
|
||||
ThemeData({
|
||||
ThemeBrightness brightness,
|
||||
ThemeBrightness brightness: ThemeBrightness.light,
|
||||
Map<int, Color> primarySwatch,
|
||||
Color accentColor,
|
||||
this.accentColorBrightness: ThemeBrightness.dark,
|
||||
|
Loading…
x
Reference in New Issue
Block a user