next method

Future<void> next()

Implementation

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