ScatterSegment class Null safety

Creates the segments for scatter series.

Generates the scatter series points and has the calculateSegmentPoints method overrides to customize the scatter segment point calculation.

Gets the path and color from the series.

Inheritance

Constructors

ScatterSegment()

Properties

animationFactor double
Animation factor value.
read / writeinherited
currentSegmentIndex int?
Current index value.
read / writeinherited
fillPaint Paint?
Fill paint of the segment.
read / writeinherited
hashCode int
The hash code for this object.
read-onlyinherited
points List<Offset>
Current point offset value.
read / writeinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
strokePaint Paint?
Stroke paint of the segment.
read / writeinherited

Methods

calculateSegmentPoints() → void
Calculates the rendering bounds of a segment.
override
dispose() → void
To dispose the objects.
inherited
getFillPaint() Paint
Gets the color of the series.
override
getStrokePaint() Paint
Gets the border color of the series.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
onPaint(Canvas canvas) → void
Draws segment in series bounds.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited