LineBarSpot class
Represent a targeted spot inside a line bar.
- Inheritance
- Implementers
Constructors
- LineBarSpot(LineChartBarData bar, int barIndex, FlSpot spot)
-
bar is the LineChartBarData that this spot is inside of,
barIndex is the index of our bar, in the LineChartData.lineBarsData list,
spot
is the targeted spot. spotIndex is the index this FlSpot, in the LineChartBarData.spots list.
Properties
- bar → LineChartBarData
-
Is the LineChartBarData that this spot is inside of.
final
- barIndex → int
-
Is the index of our bar, in the LineChartData.lineBarsData list,
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
Used for equality check, see
EquatableMixin
.no setteroverride - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spotIndex → int
-
Is the index of our
super.spot
, in the LineChartBarData.spots list.final - stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - x → double
-
finalinherited
- y → double
-
finalinherited
Methods
-
copyWith(
{double? x, double? y}) → FlSpot -
Copies current FlSpot to a new FlSpot,
and replaces provided values.
inherited
-
isNotNull(
) → bool -
Determines if x and y is not null.
inherited
-
isNull(
) → bool -
Determines if x or y is null.
inherited
-
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