ReactiveAnimationController constructor
- ReactiveHost host,
- {AnimationController? ctrl,
- bool listen = false}
Implementation
ReactiveAnimationController(
ReactiveHost host, {
AnimationController? ctrl,
bool listen = false,
}) : _listen = listen,
super(host) {
this.ctrl = ctrl ?? AnimationController(vsync: this);
if (_listen) this.ctrl.addListener(_onChange);
}