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
When the widget appears I want the animation to be delayed by 500 ms and fade in for 300 ms
When the widget disappears I want the animation to start immediately and fade out for 300 ms
Currently when using AnimatedOpacity I achieve it by simply calling setState after a dedicated Timer(Duration(milliseconds: 500)), but I would love to define this declaratively.
Is there a way to achieve it?
I achieved this effect using AnimatedOpacity as follows:
The text was updated successfully, but these errors were encountered:
orestesgaolin
changed the title
How to play different animations on appear than on going away
How to use different animations delay on appear than on going away
Apr 17, 2024
This is what I would like to achieve:
Currently when using
AnimatedOpacity
I achieve it by simply calling setState after a dedicatedTimer(Duration(milliseconds: 500))
, but I would love to define this declaratively.Is there a way to achieve it?
I achieved this effect using AnimatedOpacity as follows:
The text was updated successfully, but these errors were encountered: