MouseButton constructor

const MouseButton(
  1. MouseButtonKind button,
  2. MouseButtonAction action
)

Constructs a new instance of MouseButton.

Implementation

const MouseButton(this.button, this.action);