onFrame property
Registered method to be triggered when the animation frame updates.
Implementation
void Function(int currentIndex)? onFrame;
Registered method to be triggered when the animation frame updates.
void Function(int currentIndex)? onFrame;