GeneratedLocalizationsDelegate class

Inheritance

Constructors

GeneratedLocalizationsDelegate()
const

Properties

supportedLocales List<Locale>
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type Type
The type of the object returned by the load method, T by default. [...]
read-only, inherited

Methods

isSupported(Locale locale) bool
Whether resources for the given locale can be loaded by this delegate. [...]
override
listResolution({Locale fallback, bool withCountry: true}) LocaleListResolutionCallback
load(Locale locale) Future<S>
Start loading the resources for locale. The returned future completes when the resources have finished loading. [...]
override
resolution({Locale fallback, bool withCountry: true}) LocaleResolutionCallback
shouldReload(covariant GeneratedLocalizationsDelegate old) bool
Returns true if the resources for this delegate should be loaded again by calling the load method. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited