AnimatedEffect constructor
const
AnimatedEffect({
- Key? key,
- required Widget child,
- required Duration duration,
- required AnimationTriggerType triggerType,
- Object? trigger,
- Curve curve = appleEaseInOut,
- VoidCallback? onEnd,
- int repeat = 0,
- bool reverse = false,
- bool startImmediately = false,
- Duration delay = Duration.zero,
- 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,
});