isFirstFrame property

bool isFirstFrame

Returns whether the animation is on the first frame.

Implementation

bool get isFirstFrame => currentIndex == 0;