AnimatedEffect constructor

const AnimatedEffect({
  1. Key? key,
  2. required Widget child,
  3. required Duration duration,
  4. required AnimationTriggerType triggerType,
  5. Object? trigger,
  6. Curve curve = appleEaseInOut,
  7. VoidCallback? onEnd,
  8. int repeat = 0,
  9. bool reverse = false,
  10. bool startImmediately = false,
  11. Duration delay = Duration.zero,
  12. BooleanCallback? playIf,
})

Creates AnimatedEffect widget.

Implementation

const AnimatedEffect({
  super.key,
  required this.child,
  required this.duration,
  required this.triggerType,
  this.trigger,
  this.curve = appleEaseInOut,
  this.onEnd,
  this.repeat = 0,
  this.reverse = false,
  this.startImmediately = false,
  this.delay = Duration.zero,
  this.playIf,
});