|
@@ -17,7 +17,6 @@ class AlbumEngine {
|
|
|
int filterMinHeight = 100,
|
|
|
int filterMaxHeight = 100000,
|
|
|
}) async {
|
|
|
- const Color themeColor = Color(0xff00bc56);
|
|
|
|
|
|
FilterOptionGroup filterOptions = FilterOptionGroup()
|
|
|
..setOption(
|
|
@@ -42,12 +41,14 @@ class AlbumEngine {
|
|
|
gridCount: 4,
|
|
|
pageSize: 40,
|
|
|
pickerTheme: ThemeData(
|
|
|
- primaryColor: themeColor,
|
|
|
- primaryColorDark: Colors.white,
|
|
|
- primaryColorLight: themeColor,
|
|
|
+ primaryColor: AppColorsTheme.colorPrimary,
|
|
|
brightness: Brightness.dark,
|
|
|
- primarySwatch: _createMaterialColor(themeColor),
|
|
|
- textSelectionTheme: const TextSelectionThemeData(cursorColor: themeColor),
|
|
|
+ colorScheme: const ColorScheme.dark(
|
|
|
+ primary: AppColorsTheme.colorPrimary,
|
|
|
+ secondary: AppColorsTheme.colorPrimary, //内部按钮是这个颜色
|
|
|
+ ),
|
|
|
+ primarySwatch: _createMaterialColor(AppColorsTheme.colorPrimary),
|
|
|
+ textSelectionTheme: const TextSelectionThemeData(cursorColor: AppColorsTheme.colorPrimary),
|
|
|
appBarTheme: AppBarTheme(
|
|
|
systemOverlayStyle: SystemUiOverlayStyle.dark.copyWith(
|
|
|
statusBarColor: Colors.transparent,
|