ChartAriaPainter class

A custom painter for rendering chart areas with a neumorphic design.

This class extends NeumorphicShapePainter to provide a specialized painter for drawing chart areas with a neumorphic effect.

Inheritance

Constructors

ChartAriaPainter.new({required LabelSeriesModel series})
Creates a ChartAriaPainter.

Properties

altFillPaint Paint
The paint object used to fill the alternate chart area.
final
dashedLinePaint Paint
The paint object used to draw the dashed line.
final
fillPaint Paint
The paint object used to fill the chart area.
final
hashCode int
The hash code for this object.
no setterinherited
horizontalScale double
The horizontal scale factor for the chart area.
getter/setter pair
indicatorSize Size
The size of the indicator.
final
innerPath Path
The inner path of the shape.
getter/setter pairinherited
innerRect Rect
The inner rectangle of the shape.
getter/setter pairinherited
outerPath Path
The outer path of the shape.
getter/setter pairinherited
outerRect Rect
The outer rectangle of the shape.
getter/setter pairinherited
outlineMainPaint Paint
The paint object used to draw the outline of the chart area.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
series LabelSeriesModel
The series to render.
final
shape ShapeBorder
The shape of the Neumorphic element.
finalinherited
strokeWidth double
The width of the stroke for the shape.
finalinherited
verticalScale double
The vertical scale factor for the chart area.
getter/setter pair

Methods

calculateShape(Offset offset, Size size) → void
Calculates the shape of the Neumorphic element.
inherited
convertRadiusToSigma(double radius) double
Converts a radius value to a sigma value.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paintSurface(Canvas canvas) → void
Paints the chart area with a neumorphic effect.
processSeries() → void
Processes the series data to determine the scaling factors.
toString() String
A string representation of this object.
inherited

Operators

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