getKeyboardInfo function Null safety

Future<KeyboardInfo> getKeyboardInfo()

Retrieves the system's keyboard information including the current layout and variant names.

Implementation

Future<KeyboardInfo> getKeyboardInfo() => _platform.getKeyboardInfo();