onEnd property
Called every time an animation completes.
This can be useful to trigger additional actions (e.g. another animation) at the end of the current animation.
Implementation
VoidCallback? get onEnd => _onEnd;
Implementation
set onEnd(VoidCallback? value) {
if (value == _onEnd) {
return;
}
_onEnd = value;
}