FlDotData class

This class holds data about drawing spot dots on the drawing bar line.

Constructors

FlDotData({bool? show, CheckToShowDot? checkToShowDot, GetDotPainterCallback? getDotPainter})
set show false to prevent dots from drawing, if you want to show or hide dots in some spots, override checkToShowDot to handle it in your way.

Properties

checkToShowDot CheckToShowDot
Checks to show or hide an individual dot.
final
getDotPainter GetDotPainterCallback
Callback which is called to set the painter of the given FlSpot. The FlSpot is provided as parameter to this callback
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
Used for equality check, see EquatableMixin.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
show bool
Determines show or hide all dots.
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

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

Static Methods

lerp(FlDotData a, FlDotData b, double t) FlDotData
Lerps a FlDotData based on t value, check Tween.lerp.