stop method

  1. @protected
void stop({
  1. bool canceled = true,
})

Implementation

@protected
void stop({bool canceled = true}) {
  if (!isAnimating) return;
  _lastElapsedDuration = .zero;
  _ticker.stop(canceled: canceled);
}