Translations class
Used by BaseWidget to translate your text
Constructors
- Translations({required Map? localizedValues})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- localizedValues ↔ Map?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
text(
String? key, [Map< String, String?> ? arguments]) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
load(
Locale locale) → Future< Translations> -
loadTest(
) → Future< Translations> -
of(
BuildContext context) → Translations?