index property
int
get
index
Implementation
int get index => _index;
set
index
(int val)
Implementation
set index(int val) {
final frameCount = currentAnimation.frames.length;
_index = _clampToRange(val, 0, frameCount - 1);
_timer = _index.toDouble();
}