isModifierPressed method Null safety
- ModifierKey key,
- int modifiers,
- {KeyboardSide side = KeyboardSide.any,
- required int keyCode,
- required bool isDown}
Returns true if the given ModifierKey was pressed at the time of this event.
Implementation
bool isModifierPressed(ModifierKey key, int modifiers, {KeyboardSide side = KeyboardSide.any, required int keyCode, required bool isDown});