UniversalSpellCheckWeb class

Web implementation of the platform interface.

Browsers expose no API to query their built-in spell checker, and Flutter web draws text itself, so there is no native checker here: UniversalSpellCheckService uses its pure-Dart Hunspell engine instead.

Inheritance

Constructors

UniversalSpellCheckWeb()

Properties

hashCode int
The hash code for this object.
no setterinherited
nativeChecker ResolvedSpellChecker
The engine behind check.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

availableLanguages() Future<List<String>>
Language tags the native checker has dictionaries for.
override
check(Locale locale, String text, {required int maxSuggestions}) Future<NativeCheckOutcome>
Spell checks text for locale.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveLanguage(Locale locale) Future<String?>
The native language tag used for locale, or null if unsupported.
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

registerWith(Registrar registrar) → void
Registers this implementation with the web plugin registrar.