flutter_ime library
Functions
-
disableIME(
) → Future< void> - Disables IME completely, preventing non-English input.
-
enableIME(
) → Future< void> - Enables IME, restoring normal input method functionality.
-
getCurrentInputSource(
) → Future< String?> - Gets the current input source ID.
-
isCapsLockOn(
) → Future< bool> - Checks if Caps Lock is currently on.
-
isEnglishKeyboard(
) → Future< bool> - Checks if the current IME is in English mode.
-
onCapsLockChanged(
) → Stream< bool> - A stream that emits when Caps Lock state changes.
-
onInputSourceChanged(
) → Stream< bool> - A stream that emits when the input source (keyboard layout) changes.
-
setEnglishKeyboard(
) → Future< void> - Changes the IME (Input Method Editor) to English mode.
-
setInputSource(
String sourceId) → Future< void> - Sets the keyboard input source by its ID.