Animate constructor
Animate({
- Key? key,
- Widget child = const SizedBox.shrink(),
- List<
Effect> ? effects, - AnimateCallback? onComplete,
- AnimateCallback? onPlay,
- Duration delay = Duration.zero,
- AnimationController? controller,
- Adapter? adapter,
- double? target,
Creates an Animate instance that will manage a list of effects and apply them to the specified child.
Implementation
Animate({
Key? key,
this.child = const SizedBox.shrink(),
List<Effect>? effects,
this.onComplete,
this.onPlay,
this.delay = Duration.zero,
this.controller,
this.adapter,
this.target,
}) : super(key: key) {
_entries = [];
if (effects != null) addEffects(effects);
}