LocalizedString class

Contains a string localized in German, French and Italian.

Constructors

LocalizedString({required String de, required String fr, required String it, required String en})

Properties

de String
The German localization.
final
en String
The English localization.
final
fr String
The French localization.
final
hashCode int
The hash code for this object.
no setterinherited
it String
The Italian localization.
final
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
of(BuildContext context) String
Value corresponsing to the current language (de,fr,it) of context. Requires a Localizations widget in scope. Returns the German value when no language matches context.
toString() String
A string representation of this object.
override

Operators

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