PieInteractionEvents class

PieInteractionEvents the interaction behaviour and callbacks for PieChart

Constructors

PieInteractionEvents.new({required bool isEnabled, void onTap(PieInteractionResult interactionResult)?, void onTapDown(PieInteractionResult interactionResult)?, void onTapUp(PieInteractionResult interactionResult)?, void onDoubleTap(PieInteractionResult interactionResult)?, void onDragStart(PieInteractionResult interactionResult)?, void onDrag(PieInteractionResult interactionResult)?, void onDragEnd(PieInteractionResult interactionResult)?})
PieInteractionEvents the interaction behaviour and callbacks for PieChart
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isEnabled bool
Set if interaction is enabled.
finalinherited
onDoubleTap → void Function(PieInteractionResult interactionResult)?
onDoubleTap is be called after a double tap gesture is detected.
finalinherited
onDrag → void Function(PieInteractionResult interactionResult)?
onDrag is called when the pointer location is updated for the pointer that started the drag gesture.
finalinherited
onDragEnd → void Function(PieInteractionResult interactionResult)?
onDragEnd is called when the pointer that triggered the drag gesture stop moving ending the drag gesture.
finalinherited
onDragStart → void Function(PieInteractionResult interactionResult)?
onDragStart is called when a pointer comes in contact with the screen and starts moving triggering a drag gesture.
finalinherited
onRawInteraction → void Function(PieInteractionResult interactionResult)?
onRawInteraction receives all types of interaction events.
finalinherited
onTap → void Function(PieInteractionResult interactionResult)?
onTap is be called after a tap gesture is completed. It is called right after onTapUp.
finalinherited
onTapDown → void Function(PieInteractionResult interactionResult)?
onTapDown is called when the pointer that will trigger a tap gesture comes in contact with the screen.
finalinherited
onTapUp → void Function(PieInteractionResult interactionResult)?
onTapUp is called when the pointer that will trigger a tap gesture stops making contact with the screen.
finalinherited
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldHitTest bool
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onInteraction(PieInteractionResult interactionResult) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited