TooltipRow class

One row of a tooltip: a text line with an optional color swatch.

Annotations

Constructors

TooltipRow(String text, {Color? swatch})
Creates a tooltip row showing text with an optional color swatch.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
swatch Color?
An optional color chip drawn before the text (e.g. a series color).
final
text String
The row's 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