start method

void start()

Implementation

void start() {
  if (_isRunning) return;
  _isRunning = true;

  _timer = Timer.periodic(const Duration(milliseconds: 80), (_) {
    _frameIndex = (_frameIndex + 1) % frames.length;
    _update();
  });
}