A factory for a set of localized resources of type
T, to be loaded by a
Typical applications have one Localizations widget which is created by the
WidgetsApp and configured with the app's
parameter (a list of delegates). The delegate's type is used to identify
the object created by an individual delegate's load method.
An example of a class used as the value of
T here would be
Abstract const constructor. This constructor enables subclasses to provide
const constructors so that they can be used in const expressions.
Locale locale) → bool
- Whether resources for the given locale can be loaded by this delegate.
Locale locale) → Future< T>
Start loading the resources for
locale. The returned future completes when the resources have finished loading.
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
covariant LocalizationsDelegate< T>old) → bool
- Returns true if the resources for this delegate should be loaded again by calling the load method.
) → String
A string representation of this object.