enable new slider/progress

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-23 11:54:57 +08:00
parent 7fa6d81dc8
commit b1666095a6
4 changed files with 301 additions and 322 deletions

View File

@@ -82,6 +82,8 @@ class ThemeUtils {
shadowColor: Colors.transparent,
),
progressIndicatorTheme: ProgressIndicatorThemeData(
// ignore: deprecated_member_use
year2023: false,
refreshBackgroundColor: colorScheme.onSecondary,
),
dialogTheme: DialogThemeData(
@@ -101,6 +103,8 @@ class ThemeUtils {
),
),
),
// ignore: deprecated_member_use
sliderTheme: const SliderThemeData(year2023: false),
);
if (isDark && GStorage.isPureBlackTheme) {
themeData = darkenTheme(themeData);