onEnd property
void Function()?
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 void Function()? onEnd;