AnimateWidgetExtensions extension
- on
Methods
-
animate(
{Key? key, List< Effect> ? effects, AnimateCallback? onInit, AnimateCallback? onPlay, AnimateCallback? onComplete, bool? autoPlay, Duration? delay, AnimationController? controller, Adapter? adapter, double? target, double? value}) → Animate -
Wraps the target Widget in an Animate instance, and returns
the instance for chaining calls.
Ex.
myWidget.animate()
is equivalent toAnimate(child: myWidget)
.