createMousePressedEvent method

void createMousePressedEvent()

Implementation

void createMousePressedEvent() {
  onEvent(MousePressedEvent(mousePos: mousePosition, button: mouseButton));
}