ChainedAnimation<T> constructor
ChainedAnimation<T> (
- FluxAnimation<
T> _animation, { - FluxAnimation<
T> ? then,
Implementation
ChainedAnimation(this._animation, {FluxAnimation<T>? then})
: _next = then == null ? null : ChainedAnimation(then) {
if (_next != null && _animation.isCompleted) {
_active = _next;
} else {
_active = _animation;
}
}