next method
Implementation
Future<void> next() async {
final int target = _nextIndex();
if (target == _index && _config.repeat != URepeatMode.all) return;
await jumpTo(target);
}
Future<void> next() async {
final int target = _nextIndex();
if (target == _index && _config.repeat != URepeatMode.all) return;
await jumpTo(target);
}