MouseButton.down constructor

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

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

Implementation

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