GlobalFeedbackLocalizationsDelegate class
This is a localization delegate, which includes all of the localizations already present in this library.
- Inheritance
-
- Object
- LocalizationsDelegate<
FeedbackLocalizations> - GlobalFeedbackLocalizationsDelegate
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
supportedLocales
→ Map<
Locale, FeedbackLocalizations> -
Returns a dict of all supported locales.
Override this member to provide your own localized strings.
final
- type → Type
-
The type of the object returned by the load method, T by default.
no setterinherited
Methods
-
isSupported(
Locale locale) → bool -
Whether resources for the given locale can be loaded by this delegate.
override
-
load(
Locale locale) → Future< FeedbackLocalizations> -
Start loading the resources for
locale
. The returned future completes when the resources have finished loading.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldReload(
covariant GlobalFeedbackLocalizationsDelegate old) → bool -
Returns true if the resources for this delegate should be loaded
again by calling the load method.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
delegate
↔ LocalizationsDelegate<
FeedbackLocalizations> -
Returns the default instance of a GlobalFeedbackLocalizationsDelegate.
getter/setter pair
Constants
- defaultLocale → const Locale
- The default locale to use. Note that this locale should ALWAYS be present in supportedLocales.