getSpellCheckingLanguages method
- @SupportedPlatforms.new(platforms: [LinuxPlatform(apiName: 'webkit_web_context_get_spell_checking_languages', apiUrl: 'https://wpewebkit.org/reference/stable/wpe-webkit-2.0/method.WebContext.get_spell_checking_languages.html')])
Returns the list of spell checking languages currently configured for this WebContext.
The locale strings are in the form lang_COUNTRY where lang is an
ISO-639 language code and COUNTRY is an ISO-3166 country code.
Officially Supported Platforms/Implementations:
- Linux WPE WebKit (Official API - webkit_web_context_get_spell_checking_languages)
Use the PlatformWebViewEnvironment.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
LinuxPlatform(
apiName: 'webkit_web_context_get_spell_checking_languages',
apiUrl:
'https://wpewebkit.org/reference/stable/wpe-webkit-2.0/method.WebContext.get_spell_checking_languages.html',
),
],
)
Future<List<String>> getSpellCheckingLanguages() {
throw UnimplementedError(
'getSpellCheckingLanguages is not implemented on the current platform',
);
}