chore: update flutter and dependencies

This commit is contained in:
Dr.Blank 2026-01-10 16:46:06 +05:30
parent 06694f5f0b
commit a520136e01
No known key found for this signature in database
GPG key ID: BA5F87FF0560C57B
80 changed files with 7701 additions and 9141 deletions

View file

@ -76,9 +76,9 @@ class MyApp extends ConsumerWidget {
if (themeSettings.useMaterialThemeFromSystem) {
var themes =
ref.watch(systemThemeProvider(highContrast: shouldUseHighContrast));
if (themes.valueOrNull != null) {
lightColorScheme = themes.valueOrNull!.$1;
darkColorScheme = themes.valueOrNull!.$2;
if (themes.value != null) {
lightColorScheme = themes.value!.$1;
darkColorScheme = themes.value!.$2;
}
}
@ -100,9 +100,9 @@ class MyApp extends ConsumerWidget {
brightness: Brightness.dark,
),
);
if (themeLight.valueOrNull != null && themeDark.valueOrNull != null) {
lightColorScheme = themeLight.valueOrNull!;
darkColorScheme = themeDark.valueOrNull!;
if (themeLight.value != null && themeDark.value != null) {
lightColorScheme = themeLight.value!;
darkColorScheme = themeDark.value!;
}
}
} catch (e) {