handleMouseDown method

void handleMouseDown(
  1. Offset localPosition
)

Implementation

void handleMouseDown(Offset localPosition) {
  if (widget.mouseDownHandle != null) {
    widget.mouseDownHandle?.call(
      localPosition,
          () => _defaultMouseDownHandle(localPosition),
    );
  } else {
    _defaultMouseDownHandle(localPosition);
  }
  widget.onMouseDownComplete?.call(localPosition);
  _mouse = localPosition;
}