menu
i18n_extension package
documentation
i18n_extension.dart
TranslatedString class
TranslatedString class
dark_mode
light_mode
TranslatedString
class
Constructors
TranslatedString
({
required
String
locale
,
required
String
text
})
Properties
hashCode
→
int
The hash code for this object.
no setter
override
locale
→
String
final
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
text
→
String
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.
override
Static Methods
comparable
(
String
defaultLocaleStr
)
→
int
Function
(
TranslatedString
,
TranslatedString
)
TranslatedString in the default locale will come first. Then, comes the other TranslatedStrings with the same language as the default locale. Then, comes the other TranslatedStrings, in alphabetic order.
i18n_extension package
documentation
i18n_extension
TranslatedString class
i18n_extension library