MethodChannelKeyboardLanguage class

An implementation of KeyboardLanguagePlatform that uses method + event channels.

Inheritance

Properties

eventChannel EventChannel
The event channel used to stream language changes.
final
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to pull the current language on demand.
final
onLanguageChanged Stream<String?>
Broadcast stream of raw language tags, emitted whenever the platform reports that the active keyboard language changed.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getCurrentLanguage() Future<String?>
The raw language tag reported by the platform for the active keyboard, or null if it could not be determined.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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