move method

Future move(
  1. int index, {
  2. bool animation = true,
})

Implementation

Future move(int index, {bool animation = true}) {
  this.animation = animation;
  this.index = index;
  this.event = MOVE;
  _completer = Completer();
  notifyListeners();
  return _completer!.future;
}