raw_keyboard_layout library

Classes

KeyboardLayout
Represents a keyboard layout. Allows converting between platform specific key codes, PhysicalKeyboardKeys and LogicalKeyboardKeys.
KeyboardLayoutManager
Allows converting between physical and logical keys according to current keyboard layout as well as notification about keyboard layout changes.