onPointerCancel method

void onPointerCancel()

Implementation

void onPointerCancel() {
  if (!scope.enabled){
    return;
  }
  if(_selected != null) {
    scope.dispatchEvent(Event(type: 'dragend', object: _selected));
    _selected = null;
  }
}