L10nLocale class

Inheritance

Constructors

L10nLocale(String languageCode, [String? countryCode, String? label])
const

Properties

countryCode String?
The region subtag for the locale.
final
hashCode int
The hash code for this object.
no setterinherited
label String?
final
languageCode String
The primary language subtag for the locale.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scriptCode String?
The script subtag for the locale.
finalinherited

Methods

getTextDirection(BuildContext context) TextDirection
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toLanguageTag() String
Returns a syntactically valid Unicode BCP47 Locale Identifier.
inherited
toString() String
Returns a string representing the locale.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited