mouseMove method

void mouseMove(
  1. int x,
  2. int y
)

Sends a mouse motion event at (x, y).

Implementation

void mouseMove(int x, int y) {
  _ensureRunning();
  _program!.send(
    MouseMsg(
      action: MouseAction.motion,
      button: MouseButton.none,
      x: x,
      y: y,
    ),
  );
  _syncView();
}