MouseButton.drag constructor

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

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

Implementation

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