FlutterImePlatform class abstract

Platform interface for Flutter IME plugin.

Inheritance
  • Object
  • PlatformInterface
  • FlutterImePlatform
Implementers

Constructors

FlutterImePlatform()

Properties

hashCode int
The hash code for this object.
no setterinherited
onCapsLockChanged Stream<bool>
Stream that emits when Caps Lock state changes.
no setter
onInputSourceChanged Stream<bool>
Stream that emits when input source changes.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Properties

instance FlutterImePlatform
Returns the default instance.
getter/setter pair