stop method
Stops running this animation.
This does not trigger any notifications. The animation stops in its current state.
Implementation
void stop({bool canceled = true}) {
_simulation = null;
_lastElapsedDuration = null;
_ticker!.stop(canceled: canceled);
}