GetLocalizations class
Platform localization to add multi-language support
- Usage
[
GetLocalization.delegate,
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
];
Constructors
- GetLocalizations(Locale locale)
Properties
- currencyFraction → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- locale → Locale
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- symbols → NumberSymbols
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- current → GetLocalizations?
-
no setter
- currentLocale → String?
-
no setter
-
supportedLocales
→ List<
Locale> -
final
Constants
- delegate → const GetLocalizationsDelegate
- english → const String