previous method

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

Implementation

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