MouseEvent constructor

const MouseEvent(
  1. int x,
  2. int y,
  3. MouseButton button, {
  4. KeyModifiers modifiers = const KeyModifiers(0),
})

Constructs a new instance of MouseEvent.

Implementation

const MouseEvent(this.x, this.y, this.button, {this.modifiers = const KeyModifiers(0)});