KeyboardLockMode class Null safety
Represents a lock mode of a keyboard, such as KeyboardLockMode.capsLock.
A lock mode locks some of a keyboard's keys into a distinct mode of operation, depending on the lock settings selected. The status of the mode is toggled with each key down of its corresponding logical key. A KeyboardLockMode object is used to query whether this mode is enabled on the keyboard.
Only a limited number of modes are supported, which are enumerated as static members of this class. Manual constructing of this class is prohibited.
- capsLock → const KeyboardLockMode
Represents the capital letters lock mode on the keyboard. [...]
- numLock → const KeyboardLockMode
Represents the number lock mode on the keyboard. [...]
- scrollLock → const KeyboardLockMode
Represents the scrolling lock mode on the keyboard. [...]