AppLocalizationsDelegate class

A delegate for loading localized resources for the Amwal SDK.

This class provides support for English and Arabic localizations.

Inheritance

Constructors

AppLocalizationsDelegate()
Creates an AppLocalizationsDelegate.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → Type
The type of the object returned by the load method, T by default.
no setterinherited

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