next method

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

Implementation

Future next({bool animation = true}) {
  this.event = NEXT;
  this.animation = animation;
  _completer = Completer();
  notifyListeners();
  return _completer!.future;
}