ChartTooltipPieShape<T extends ChartDataItem> class

Provides tooltip pie shape.

Inheritance

Constructors

ChartTooltipPieShape({required Color backgroundColor, required TextStyle nameTextStyle, required String onTextName(T), required String onTextValue(T), required TextStyle valueTextStyle, EdgeInsets padding = EdgeInsets.zero, double radius = 0.0})
const

Properties

backgroundColor Color
The background color of shape.
final
hashCode int
The hash code for this object.
no setterinherited
nameTextStyle TextStyle
The TextStyle for name of shape.
final
onTextName String Function(T)
The function return text name of shape.
final
onTextValue String Function(T)
The function return text value of shape.
final
padding EdgeInsets
The padding of shape.
final
radius double
The radius of shape.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valueTextStyle TextStyle
The TextSty;e for value of shape.
final

Methods

draw(Canvas canvas, ChartPainterData painterData, ChartTouchCallbackData touchedData, double tolerance) → void
Draw tooltip pie shape.
override
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