MethodChannelFlutterIme class

Default implementation using Method Channel.

Inheritance

Constructors

MethodChannelFlutterIme()

Properties

capsLockEventChannel EventChannel
The event channel instance for Caps Lock changes.
final
eventChannel EventChannel
The event channel instance for input source changes.
final
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel instance.
final
onCapsLockChanged Stream<bool>
Stream that emits when Caps Lock state changes.
no setteroverride
onInputSourceChanged Stream<bool>
Stream that emits when input source changes.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disableIME() Future<void>
Disables IME (Windows only).
override
enableIME() Future<void>
Enables IME (Windows only).
override
getCurrentInputSource() Future<String?>
Gets the current input source ID (macOS only).
override
isCapsLockOn() Future<bool>
Checks if Caps Lock is currently on.
override
isEnglishKeyboard() Future<bool>
Checks if current IME is in English mode.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setEnglishKeyboard() Future<void>
Changes IME to English mode.
override
setInputSource(String sourceId) Future<void>
Sets the input source by ID (macOS only).
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited