previous method

Future<void> previous({
  1. bool animation = true,
})

上一页

Implementation

Future<void> previous({bool animation = true}) {
  event = FlSwiperEvent.previous;
  this.animation = animation;
  _completer = Completer<dynamic>();
  notifyListeners();
  return _completer.future;
}