currentFrame property
SpriteAnimationFrame
get
currentFrame
The current frame that should be displayed.
Implementation
SpriteAnimationFrame get currentFrame => spriteAnimation.frames[currentIndex];
The current frame that should be displayed.
SpriteAnimationFrame get currentFrame => spriteAnimation.frames[currentIndex];