onMouse1Down method

void onMouse1Down(
  1. void callback()
)

Implementation

void onMouse1Down(void Function() callback) {
  _mouse1DownCallback = callback;
}