CountryLocalizations class

Constructors

CountryLocalizations(Locale locale)

Properties

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

Methods

countryName({required String countryCode}) String?
The localized country name for the given country code.
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 Methods

of(BuildContext context) CountryLocalizations?
The CountryLocalizations from the closest Localizations instance that encloses the given context.

Constants

delegate → const LocalizationsDelegate<CountryLocalizations>
A LocalizationsDelegate that uses _CountryLocalizationsDelegate.load to create an instance of this class.