MouseButton.drag constructor
MouseButton.drag([
- 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);