WtAnimateX extension

Fluent entrance animations on any widget: myWidget.wtFadeIn().

Each method wraps the receiver in a WtAnimate, so all of them honour reduced motion and WtConfig defaults automatically.

on

Methods

wtFadeIn({Duration? duration, Duration delay = Duration.zero, Curve? curve}) Widget

Available on Widget, provided by the WtAnimateX extension

Fades this widget in. See WtFadeIn.
wtScaleIn({double scaleFrom = 0.9, Duration? duration, Duration delay = Duration.zero, Curve? curve, bool fade = true}) Widget

Available on Widget, provided by the WtAnimateX extension

Scales this widget in. See WtScaleIn.
wtSlideIn({WtDir from = WtDir.bottom, double distance = 0.15, Duration? duration, Duration delay = Duration.zero, Curve? curve, bool fade = true}) Widget

Available on Widget, provided by the WtAnimateX extension

Slides this widget in from from (default bottom). See WtSlideIn.
wtSlideUp({Duration? duration, Duration delay = Duration.zero, Curve? curve}) Widget

Available on Widget, provided by the WtAnimateX extension

Slides this widget up from below — shorthand for wtSlideIn(from: bottom).
wtStagger({required int index, Duration interval = const Duration(milliseconds: 60), WtDir from = WtDir.bottom, Duration? duration, Curve? curve}) Widget

Available on Widget, provided by the WtAnimateX extension

Staggered entrance for item index in a list: delays the animation by interval * index. Use inside ListView.builder item builders.