next method

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

下一页

Implementation

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