respect disableAnimations flag

This commit is contained in:
Fabian Freund
2026-03-09 18:03:34 +01:00
parent a815a3529a
commit 0a8348b324
8 changed files with 102 additions and 19 deletions
+9
View File
@@ -55,6 +55,9 @@ class MainApp extends HookConsumerWidget {
theme: theme,
darkTheme: darkTheme,
themeMode: themeMode,
themeAnimationStyle: disableAnimations
? AnimationStyle.noAnimation
: null,
builder: (context, child) {
return _AppMediaQueryOverrides(
uiScaleFactor: uiScaleFactor,
@@ -85,6 +88,9 @@ class MainApp extends HookConsumerWidget {
theme: theme,
darkTheme: darkTheme,
themeMode: themeMode,
themeAnimationStyle: disableAnimations
? AnimationStyle.noAnimation
: null,
routerConfig: router.value,
builder: (context, child) {
return _AppMediaQueryOverrides(
@@ -103,6 +109,9 @@ class MainApp extends HookConsumerWidget {
theme: theme,
darkTheme: darkTheme,
themeMode: themeMode,
themeAnimationStyle: disableAnimations
? AnimationStyle.noAnimation
: null,
builder: (context, child) {
return _AppMediaQueryOverrides(
uiScaleFactor: uiScaleFactor,