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
In some cases you want a group of tweens to share some default duration, curve, or delay. It might be nice if this could be declared in the widget tree:
These would simply act as new defaults, nothing more fancy than that.
This could be accomplished by with class AnimateDefaults extends InheritedWidget, and then calling AnimateDefaults.maybeOf(context) from within Animate to look up the closest ancestor with default overrides (if any).
The text was updated successfully, but these errors were encountered:
In some cases you want a group of tweens to share some default duration, curve, or delay. It might be nice if this could be declared in the widget tree:
These would simply act as new defaults, nothing more fancy than that.
This could be accomplished by with
class AnimateDefaults extends InheritedWidget
, and then callingAnimateDefaults.maybeOf(context)
from withinAnimate
to look up the closest ancestor with default overrides (if any).The text was updated successfully, but these errors were encountered: