currentFrame property

SpriteAnimationFrame currentFrame

The current frame that should be displayed.

Implementation

SpriteAnimationFrame get currentFrame => frames[currentIndex];