next method
Scrolls one item forward, the same way a swipe does.
Implementation
Future<void> next() {
final Future<void> Function(int direction)? step = _step;
if (step != null) {
return step(1);
}
return animateToItem(currentItem + 1);
}