AppLocalizationsDelegate class
A delegate for loading localized resources for the Amwal SDK.
This class provides support for English and Arabic localizations.
- Inheritance
-
- Object
- LocalizationsDelegate<
AppLocalizations> - AppLocalizationsDelegate
Constructors
- AppLocalizationsDelegate.new()
-
Creates an AppLocalizationsDelegate.
const
Properties
Methods
-
isSupported(
Locale locale) → bool -
Checks if the given
locale
is supported by the SDK.override -
load(
Locale locale) → Future< AppLocalizations> -
Loads the localized resources for the given
locale
.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldReload(
covariant LocalizationsDelegate< AppLocalizations> old) → bool -
Determines whether the delegate should reload resources.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited