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