lockModesEnabled property
The set of KeyboardLockMode that are enabled.
Lock keys, such as CapsLock, are logical keys that toggle their respective boolean states on key down events. Such flags are usually used as modifier to other keys or events.
If called from a key event handler, the result will already include the effect of the event.
Implementation
Set<KeyboardLockMode> get lockModesEnabled => _lockModes;