next method

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

Implementation

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