isModifierKey function
Whether key is a modifier (Shift, Control, Alt, Meta, Caps Lock, Fn):
pressed alone it is part of the next key's combination.
Implementation
bool isModifierKey(LogicalKeyboardKey key) => _modifierKeys.contains(key);
Whether key is a modifier (Shift, Control, Alt, Meta, Caps Lock, Fn):
pressed alone it is part of the next key's combination.
bool isModifierKey(LogicalKeyboardKey key) => _modifierKeys.contains(key);