Effect constructor
Effect(
- EffectController controller, {
- void onComplete()?,
- ComponentKey? key,
Implementation
Effect(
this.controller, {
this.onComplete,
super.key,
}) : removeOnFinish = true,
_paused = false,
_started = false,
_finished = false {
controller.onMount(this);
}