jumpTo method
Implementation
void jumpTo(int index) {
if (index >= 0 && index < sources.length) {
_currentIndex = index;
_updateControllers();
notifyListeners();
}
}
void jumpTo(int index) {
if (index >= 0 && index < sources.length) {
_currentIndex = index;
_updateControllers();
notifyListeners();
}
}