previous method

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

Implementation

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