AppLocalizationsDelegate class
Inheritance
- Object
- LocalizationsDelegate<AppLocalizations>
- AppLocalizationsDelegate
Constructors
AppLocalizationsDelegate ({bool isTest = false})
const
Properties
hashCode → int
The hash code for this object.
<span class="feature">read-only</span><span class="feature">inherited</span>
isTest → bool
<span class="feature">final</span>
runtimeType → Type
A representation of the runtime type of the object.
<span class="feature">read-only</span><span class="feature">inherited</span>
type → Type
The type of the object returned by the <a href="../utils_app_localization/AppLocalizationsDelegate/load.md">load</a> method, T by default.
<span class="feature">read-only</span><span class="feature">inherited</span>
Methods
isSupported(Locale locale) bool
Whether resources for the given locale can be loaded by this delegate.
<span class="feature">override</span>
load(Locale locale) Future<AppLocalizations>
Start loading the resources for <code>locale</code>. The returned future completes
when the resources have finished loading.
<span class="feature">override</span>
noSuchMethod(Invocation invocation) dynamic
Invoked when a non-existent method or property is accessed.
<span class="feature">inherited</span>
shouldReload(covariant AppLocalizationsDelegate old) bool
Returns true if the resources for this delegate should be loaded
again by calling the <a href="../utils_app_localization/AppLocalizationsDelegate/load.md">load</a> method.
<span class="feature">override</span>
toString() String
A string representation of this object.
<span class="feature">inherited</span>
Operators
operator ==(Object other) bool
The equality operator.
<span class="feature">inherited</span>