next method

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

Implementation

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