playPrevious method

void playPrevious()

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);
}