AppLocalizations class
<p>This class provides methods to localize the application so that it can be available to users with different languages.</p>
Constructors
AppLocalizations (Locale locale, {bool isTest = false})
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">read / write</span>
locale → Locale
<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>
Methods
load() Future<bool>
loadTest(Locale locale) Future<AppLocalizations>
noSuchMethod(Invocation invocation) dynamic
Invoked when a non-existent method or property is accessed.
<span class="feature">inherited</span>
strictTranslate(String key) String
toString() String
A string representation of this object.
<span class="feature">inherited</span>
translate(String? key) String?
Operators
operator ==(Object other) bool
The equality operator.
<span class="feature">inherited</span>