isFirstFrame property

bool get isFirstFrame

Returns whether the animation is on the first frame.

Implementation

bool get isFirstFrame => currentIndex == 0;