RadarTouchData class

Holds data to handle touch events, and touch responses in the RadarChart.

There is a touch flow, explained here in a simple way, each chart's renderer captures the touch events, and passes the pointerEvent to the painter, and gets touched spot, and wraps it into a concrete RadarTouchResponse.

Inheritance

Constructors

RadarTouchData({bool? enabled, BaseTouchCallback<RadarTouchResponse>? touchCallback, MouseCursorResolver<RadarTouchResponse>? mouseCursorResolver, Duration? longPressDuration, double? touchSpotThreshold})
You can disable or enable the touch system using enabled flag,

Properties

enabled bool
You can disable or enable the touch system using enabled flag,
finalinherited
hashCode int
The hash code for this object.
no setterinherited
longPressDuration Duration?
This property that allows to customize the duration of the longPress gesture. default to 500 milliseconds refer to kLongPressTimeout.
finalinherited
mouseCursorResolver MouseCursorResolver<RadarTouchResponse>?
Using mouseCursorResolver you can change the mouse cursor based on the provided FlTouchEvent and BaseTouchResponse
finalinherited
props List<Object?>
Used for equality check, see EquatableMixin.
no setteroverride
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
touchCallback BaseTouchCallback<RadarTouchResponse>?
touchCallback notifies you about the happened touch/pointer events. It gives you a FlTouchEvent which is the happened event such as FlPointerHoverEvent, FlTapUpEvent, ... It also gives you a BaseTouchResponse which is the chart specific type and contains information about the elements that has touched.
finalinherited
touchSpotThreshold double
we find the nearest spots on touched position based on this threshold
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