CountryLocalizations class Null safety

Constructors

CountryLocalizations(Locale locale)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
locale Locale
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

countryName({required String countryCode}) String?
The localized country name for the given country code.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
_CountryLocalizationsDelegate()