限制指定useMaterial3: false
This commit is contained in:
parent
b4649ff3ee
commit
6ea9cf34e9
|
@ -13,6 +13,7 @@ abstract class Constants {
|
||||||
static Color ratingBG = Colors.yellow[600]!;
|
static Color ratingBG = Colors.yellow[600]!;
|
||||||
|
|
||||||
static ThemeData lightTheme = ThemeData(
|
static ThemeData lightTheme = ThemeData(
|
||||||
|
useMaterial3: false,
|
||||||
colorScheme: const ColorScheme.light(
|
colorScheme: const ColorScheme.light(
|
||||||
background: lightBG,
|
background: lightBG,
|
||||||
primary: lightPrimary,
|
primary: lightPrimary,
|
||||||
|
@ -37,6 +38,7 @@ abstract class Constants {
|
||||||
);
|
);
|
||||||
|
|
||||||
static ThemeData darkTheme = ThemeData(
|
static ThemeData darkTheme = ThemeData(
|
||||||
|
useMaterial3: false,
|
||||||
colorScheme: const ColorScheme.dark(
|
colorScheme: const ColorScheme.dark(
|
||||||
background: darkBG,
|
background: darkBG,
|
||||||
primary: darkPrimary,
|
primary: darkPrimary,
|
||||||
|
|
Loading…
Reference in New Issue