playAnimationByIndex method

void playAnimationByIndex(
  1. int index, {
  2. bool resetClock = true,
})

Implementation

void playAnimationByIndex(int index, {bool resetClock = true}) {
  final animation = model.animations[index];
  _animation.startAnimation(animation, resetClock: resetClock);
}