CountryLocalizations class
Localization class that contains the different country name strings translated into the locales that the package supports.
You can read more at:
Constructors
- CountryLocalizations(Locale locale)
- Localization class that contains the different country name strings translated into the locales that the package supports.
Properties
Methods
-
languages(
) → List< String> - Gets all of the available languages.
-
load(
) → Future< void> - Loads the localized country values from supported language codes.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
translation(
String countryCode) → String - Convenient getter for translation.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of(
BuildContext context) → CountryLocalizations? - Reference for lookup objects that contain collections of localized values.
Constants
-
delegate
→ const LocalizationsDelegate<
CountryLocalizations> - Delegate to access defined localized resources from this package.
-
supportedLocales
→ const List<
String> - Importable list of supported locales.