WtAnimate constructor

const WtAnimate({
  1. Key? key,
  2. required Widget child,
  3. Duration? duration,
  4. Duration delay = Duration.zero,
  5. Curve? curve,
  6. double? fadeFrom,
  7. Offset? slideFrom,
  8. double? scaleFrom,
})

Animates child into view, composing any of fade/slide/scale.

Implementation

const WtAnimate({
  super.key,
  required this.child,
  this.duration,
  this.delay = Duration.zero,
  this.curve,
  this.fadeFrom,
  this.slideFrom,
  this.scaleFrom,
});