cancel method

void cancel()

Cancels the drag operation.

Implementation

void cancel() {
  _state = DragState.initial;
  notifyListeners();
}