onEnd property

VoidCallback? get onEnd

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;
set onEnd (VoidCallback? value)

Implementation

set onEnd(VoidCallback? value) {
  if (value == _onEnd) {
    return;
  }
  _onEnd = value;
}