onEnd property

VoidCallback? onEnd
final

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

final VoidCallback? onEnd;