dark theme fix
This commit is contained in:
parent
ab792f798e
commit
459bed1a68
@ -189,7 +189,9 @@ class MyTheme {
|
|||||||
style: ButtonStyle(splashFactory: NoSplash.splashFactory),
|
style: ButtonStyle(splashFactory: NoSplash.splashFactory),
|
||||||
)
|
)
|
||||||
: null,
|
: null,
|
||||||
colorScheme: ColorScheme.fromSwatch(primarySwatch: Colors.blue).copyWith(
|
colorScheme: ColorScheme.fromSwatch(
|
||||||
|
primarySwatch: Colors.blue,
|
||||||
|
).copyWith(
|
||||||
brightness: Brightness.light,
|
brightness: Brightness.light,
|
||||||
background: Color(0xFFEEEEEE),
|
background: Color(0xFFEEEEEE),
|
||||||
),
|
),
|
||||||
@ -229,9 +231,11 @@ class MyTheme {
|
|||||||
checkboxTheme:
|
checkboxTheme:
|
||||||
const CheckboxThemeData(checkColor: MaterialStatePropertyAll(dark)),
|
const CheckboxThemeData(checkColor: MaterialStatePropertyAll(dark)),
|
||||||
colorScheme: ColorScheme.fromSwatch(
|
colorScheme: ColorScheme.fromSwatch(
|
||||||
brightness: Brightness.dark,
|
|
||||||
primarySwatch: Colors.blue,
|
primarySwatch: Colors.blue,
|
||||||
).copyWith(background: Color(0xFF24252B)),
|
).copyWith(
|
||||||
|
brightness: Brightness.dark,
|
||||||
|
background: Color(0xFF24252B),
|
||||||
|
),
|
||||||
).copyWith(
|
).copyWith(
|
||||||
extensions: <ThemeExtension<dynamic>>[
|
extensions: <ThemeExtension<dynamic>>[
|
||||||
ColorThemeExtension.dark,
|
ColorThemeExtension.dark,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user