LocalizedRichTextKey class

This class represents a single dynamic value inside the String that has to be localized.

Constructors

LocalizedRichTextKey({required String key, required String value, required TextStyle textStyle, TextSpanProperties? textSpanProperties})

Properties

hashCode int
The hash code for this object.
no setterinherited
key String
This Key must be equal to the Key used inside the LocalizedRichText.text for represent the dynamic value.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textSpanProperties TextSpanProperties?
This object contains all the properties that a TextSpan could have.
getter/setter pair
textStyle TextStyle
This is the TextStyle of the Key.
getter/setter pair
value String
This must be the effective value of the Key, that has to be shown.
getter/setter pair

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.
inherited