LocalesManager class abstract
Constructors
- LocalesManager(InitializeLocaleFunction initializeLocaleFunction, [OnDefineLocale? onDefineLocale])
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- initializeLocaleFunction → InitializeLocaleFunction
-
final
- isBrowserURI → bool
-
Returns
true
if locales URI are resolved in a browser.no setter -
languagesToLookup
→ List<
IntlLocale> -
no setter
-
onDefineLocale
→ EventStream<
String> -
final
-
onPreDefineLocale
→ Set<
OnPreDefineLocale> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addLanguagesToLookup(
List< IntlLocale> locales) → void -
buildLanguageSelector(
dynamic refreshOnChange()) → dynamic -
defineLocaleFromSystem(
) → String? -
getCurrentLocale(
) → String -
getInitializedLocales(
) → List< String> -
getInitializedLocalesAlternatives(
) → Map< String, String> -
getLocaleInitializedAlternative(
String locale) → String? -
getLocaleOptions(
) → List< LocaleOption> -
getLocalesSequence(
String locale) → List< String> -
getNotInitializedLocales(
[bool includeFails = false]) → List< String> -
getPreferredLocale(
) → String? -
initialize(
[String? preferredLocale()?]) → Future< bool> ? -
initializeAllLocales(
) → Future< bool> -
isFailedLocale(
String locale) → bool -
isInitializedLocale(
String locale) → bool -
isInitializedLocaleWithAlternative(
String locale) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readPreferredLocale(
) → String? -
setPreferredLocale(
String locale) → Future< bool> -
storePreferredLocale(
String locale) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
onDefineLocaleGlobal
→ EventStream<
String> -
final
-
onDefineLocaleLibraryIntegration
→ EventStream<
String> -
final