KeyboardLanguageWeb class

Inheritance

Constructors

KeyboardLanguageWeb()
Creates the web implementation.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAvailable() Future<List<InputLanguage>>
Lists the keyboards / input languages the user has enabled.
override
getCapabilities() Future<KeyboardLanguageCapabilities>
Describes what this platform supports.
override
getCurrent() Future<InputLanguage?>
Reads the active keyboard language, or null when unknown.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setLanguage(String languageTag) Future<bool>
Selects the installed keyboard matching languageTag. Returns false when none matches; throws UnsupportedError where impossible.
override
toString() String
A string representation of this object.
inherited
watch({required Duration pollInterval}) Stream<InputLanguage?>
Streams the keyboard language, starting with the current value where the platform can determine it. pollInterval is used by platforms that have no change notification.
override

Operators

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

Static Methods

registerWith(Registrar registrar) → void
Registers this class as the platform implementation.