BarInteractionResult class
BarInteractionResult represents the result of an interaction with the BarChart.
See also:
TouchInteractionType
Constructors
- BarInteractionResult({required BarGroup barGroup, required int barGroupIndex, required BarData barData, required int barDataIndex, required Offset? localPosition, required TouchInteractionType interactionType})
- BarInteractionResult represents the result of an interaction with the BarChart.
Properties
- barData → BarData
-
The relevant BarData within barGroup matching the current interaction.
final
- barDataIndex → int
-
The index of barData in BarGroup.
final
- barGroup → BarGroup
-
The BarGroup matching the interaction.
final
- barGroupIndex → int
-
The index of barGroup in BarSeries.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- interactionType → TouchInteractionType
-
The
TouchInteractionType
of this interaction.finalinherited - localPosition → Offset?
-
The offset of the interaction relative to the chart.
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
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited
Methods
-
copyWith(
{BarGroup? barGroup, int? barGroupIndex, BarData? barData, int? barDataIndex, Offset? localPosition, TouchInteractionType? interactionType}) → BarInteractionResult -
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