onEnd property

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

Implementation

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