The modifiers that were present when the key event occurred.
See fuchsia.googlesource.com/garnet/+/master/public/fidl/fuchsia.ui.input/input_event_constants.fidl for the numerical values of the modifiers. Many of these are also replicated as static constants in this class.
- modifiersPressed, which returns a Map of currently pressed modifiers and their keyboard side.
- isModifierPressed, to see if a specific modifier is pressed.
- isControlPressed, to see if a CTRL key is pressed.
- isShiftPressed, to see if a SHIFT key is pressed.
- isAltPressed, to see if an ALT key is pressed.
- isMetaPressed, to see if a META key is pressed.
final int modifiers;