You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add the ability to customize MaterialApp theme animation duration #78372
A. I want a different animation duration than the one specified by kThemeAnimationDuration.
B. I want to control the properties of themed widgets using an animation controller, and want those to animate immediately and not according to the theme animation duration.
Proposal
Add themeAnimationDuration to MaterialApp which is then passed to the created AnimatedTheme.
Allow themeAnimationDuration to be overridden or ignored by some mechanism for specific widgets.
It's intuitive that wrapping a widget in AnimatedTheme(data: Theme.of(context), duration: const Duration()) would change the theming animation duration of the widget, but it does not.
Hi @nt4f04uNd
This one does not request disabling the theme animation but your does, If you still agree in closing yours in favor of this one, please feel free to close yours as a duplicate.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
nt4f04uNd commentedon Mar 17, 2021
triagers fyi there's a similar issue #70723
i suspect this one is more spicific about proposal, so i don't mind mine being closed in favor of it
pedromassangocode commentedon Mar 17, 2021
Hi @nt4f04uNd
This one does not request disabling the theme animation but your does, If you still agree in closing yours in favor of this one, please feel free to close yours as a duplicate.
nt4f04uNd commentedon Mar 17, 2021
OP provided an example with duration set to
const Duration(), which essentially disables the animation. i'm closing #70723 in favor of this onealso, that would probably make sense to have a control over the animation curvature
saibotma commentedon Dec 14, 2021
Would also be great if the curve could be adjusted? Is there a way?
17 remaining items
[Reland] Introduce `AnimationStyle` (#138721)
github-actions commentedon Dec 5, 2023
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.