TranslationLocalizations class
Localized translations provided by the TranslationService.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLoading → bool
-
Check if translations are currently loading.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service → TranslationService
-
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
-
translate(
String key) → String - Get a translated string by key.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of(
BuildContext context) → TranslationLocalizations - Access the instance from BuildContext.