seek method

void seek(
  1. int index
)

Implementation

void seek(int index) {
  currentIndex = index;
  notifyListeners();
}