TouchedSpotIndicatorData class
details of showing indicator when touch happened on LineChart indicatorBelowLine we draw a vertical line below of the touched spot touchedSpotDotData we draw a larger dot on the touched spot to bold it
Constructors
- TouchedSpotIndicatorData(FlLine indicatorBelowLine, FlDotData touchedSpotDotData)
-
if LineTouchData.handleBuiltInTouches is true,
LineChart shows a thicker line and larger spot as indicator automatically when touch happens,
otherwise you can show it manually using LineChartBarData.showingIndicators.
indicatorBelowLine determines line's style, and
touchedSpotDotData determines dot's style.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- indicatorBelowLine → FlLine
-
Determines line's style.
final
-
props
→ List<
Object?> -
Used for equality check, see
EquatableMixin
.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 - touchedSpotDotData → FlDotData
-
Determines dot's style.
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