MouseButton.up constructor

MouseButton.up([
  1. MouseButtonKind? button
])

Constructs a new instance of MouseButton with the given button and MouseButtonAction.up

Implementation

factory MouseButton.up([MouseButtonKind? button]) =>
    MouseButton(button ?? MouseButtonKind.none, MouseButtonAction.up);