currentFrame property

SpriteAnimationFrame currentFrame

The current frame that should be displayed.

Implementation

SpriteAnimationFrame get currentFrame => spriteAnimation.frames[currentIndex];