dispose method

  1. @mustCallSuper
void dispose ()
@mustCallSuper

Called by the delegate when it is no longer sending events to this object.

Implementation

@mustCallSuper
void dispose() {
  _lastDetails = null;
  if (onDragCanceled != null)
    onDragCanceled();
}