KeyEvent.click constructor

KeyEvent.click({
  1. required int x,
  2. required int y,
})

A left click with the pointer at the 0-based cell (x, y).

Implementation

factory KeyEvent.click({required int x, required int y}) =>
    KeyEvent(KeyType.click, x: x, y: y);