MouseButton constructor Null safety
- int value
value for a mouse button is defined in https://w3c.github.io/uievents/#widl-MouseEvent-button
Implementation
const MouseButton(this.value);
value for a mouse button is defined in https://w3c.github.io/uievents/#widl-MouseEvent-button
const MouseButton(this.value);