disposeAnimation method

void disposeAnimation()
inherited

Cancels any pending start/loop timers. Called from the base state's dispose.

Implementation

void disposeAnimation() {
  disposed = true;
  _delayTimer?.cancel();
  _loopDelayTimer?.cancel();
}