ScatterTouchResponse class
Holds information about touch response in the ScatterChart.
You can override ScatterTouchData.touchCallback to handle touch events, it gives you a ScatterTouchResponse and you can do whatever you want.
- Inheritance
-
- Object
- BaseTouchResponse
- ScatterTouchResponse
Constructors
- ScatterTouchResponse(ScatterTouchedSpot? touchedSpot)
- If touch happens, ScatterChart processes it internally and passes out a ScatterTouchResponse, it gives you information about the touched spot.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- touchedSpot → ScatterTouchedSpot?
-
final
Methods
-
copyWith(
{ScatterTouchedSpot? touchedSpot}) → ScatterTouchResponse - Copies current ScatterTouchResponse to a new ScatterTouchResponse, and replaces provided values.
-
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