playPrevious method
Plays the entry before the one playing, wrapping past the first.
Implementation
void playPrevious() {
final entries = _sprite.entries;
play(entries[(_current.index - 1) % entries.length].key);
}
Plays the entry before the one playing, wrapping past the first.
void playPrevious() {
final entries = _sprite.entries;
play(entries[(_current.index - 1) % entries.length].key);
}