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