dispose method

void dispose()

Disposes this parameter and stops any running animation.

Implementation

void dispose() {
  _animationImpl?.stop();
}