PieTouchResponse class
Holds information about touch response in the PieChart.
You can override PieTouchData.touchCallback to handle touch events, it gives you a PieTouchResponse and you can do whatever you want.
- Inheritance
-
- Object
- BaseTouchResponse
- PieTouchResponse
Constructors
- PieTouchResponse(PieTouchedSection? touchedSection)
- If touch happens, PieChart processes it internally and passes out a PieTouchResponse
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- touchedSection → PieTouchedSection?
-
Contains information about touched section, like index, angle, radius, ...
final
Methods
-
copyWith(
{PieTouchedSection? touchedSection}) → PieTouchResponse - Copies current PieTouchResponse to a new PieTouchResponse, 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