KeyboardModifiers
class KeyboardModifiers
info
This class cannot be instantiated directly. Instances are provided by gesture and pointer events, such as TapGesture, DragGesture, Drag, and Hover.
Properties
alt
alt: Bool { get }
Whether the alt (option on macOS) key is pressed.
control
control: Bool { get }
Whether the control key (command on macOS) is pressed.
shift
shift: Bool { get }
Whether the shift key is pressed.