hasAnimationFinished method
Implementation
bool hasAnimationFinished() {
if (_currentState == null) {
return true;
}
return (_currentIndex == (totalFrame - 1) && !_currentState!.loop && _waitTime <= 0);
}
bool hasAnimationFinished() {
if (_currentState == null) {
return true;
}
return (_currentIndex == (totalFrame - 1) && !_currentState!.loop && _waitTime <= 0);
}