onDragCancel method

void onDragCancel()

Called when a drag operation is cancelled.

Implementation

void onDragCancel() {
  dragState = DragState.initial;
  setState(() {});
}