BaseLocaleSettings<E extends BaseAppLocale<E, T>, T extends BaseTranslations<E, T>> class abstract

Available extensions

Constructors

BaseLocaleSettings({required BaseAppLocaleUtils<E, T> utils})

Properties

hashCode int
The hash code for this object.
no setterinherited
listenToDeviceLocale bool
If true, then TranslationProvider will trigger setLocale on device locale change (e.g. due to user interaction in device settings).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
translationMap Map<E, T>
Internal: Manages all translation instances May be modified when setting a custom plural resolver
final
utils BaseAppLocaleUtils<E, T>
Internal: Reference to utils instance
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateProviderState(BaseAppLocale<BaseAppLocale, BaseTranslations> locale) → void
Updates the provider state and therefore triggers a rebuild on all widgets listening to this provider.

Operators

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