AnimationExtensions extension

on

Methods

fade({required bool visible, Duration duration = const Duration(milliseconds: 300), Curve curve = Curves.easeInOut, bool autoRun = true}) Widget

Available on Widget, provided by the AnimationExtensions extension

Fades the widget in and out
fadeScale({required bool visible, Duration duration = const Duration(milliseconds: 300), Curve curve = Curves.easeInOut, bool autoRun = true}) Widget

Available on Widget, provided by the AnimationExtensions extension

Combines fade and scale animations
scale({required bool visible, double begin = 0.0, double end = 1.0, Duration duration = const Duration(milliseconds: 300), Curve curve = Curves.easeInOut, bool autoRun = true}) Widget

Available on Widget, provided by the AnimationExtensions extension

Scales the widget in and out
slide({required bool visible, Offset begin = const Offset(0, 1), Offset end = Offset.zero, Duration duration = const Duration(milliseconds: 300), Curve curve = Curves.easeInOut, bool autoRun = true}) Widget

Available on Widget, provided by the AnimationExtensions extension

Slides the widget in from a specific direction