LineTooltipItem class

Holds data of showing each row item in the tooltip popup.

Constructors

LineTooltipItem(String text, TextStyle textStyle, {TextAlign textAlign = TextAlign.center, TextDirection textDirection = TextDirection.ltr, List<TextSpan>? children})
Shows a text with textStyle, textDirection, and optional children as a row in the tooltip popup.
const

Properties

children List<TextSpan>?
List
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
Used for equality check, see EquatableMixin.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
text String
Showing text.
final
textAlign TextAlign
Align of showing text.
final
textDirection TextDirection
Direction of showing text.
final
textStyle TextStyle
Style of showing text.
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.
inherited