TooltipData class

Represents the data to be displayed in a tooltip.

This class encapsulates the necessary information to display a tooltip for a particular data point in the chart, including the series name, the data point details, color, and the position of the tooltip.

Constructors

TooltipData({required String seriesName, required ChartDataPoint dataPoint, required Color color, required Offset position})
Creates a TooltipData instance.

Properties

color Color
final
dataPoint ChartDataPoint
final
hashCode int
The hash code for this object.
no setterinherited
position Offset
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seriesName String
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