NestedBackIconPainter class

A custom painter that draws nested back chevrons (< << <<<).

Uses the same drawing logic as BackIconPainter, repeated with offset.

Inheritance

Constructors

NestedBackIconPainter({required Color color, required double strokeWidth, int nestingLevel = 1, double animationStep = 1.0})
Creates a NestedBackIconPainter.

Properties

animationStep double
Animation progress for the newest chevron (0.0 to 1.0).
final
color Color
The color of the chevrons.
final
hashCode int
The hash code for this object.
no setterinherited
innerPath Path
The inner path of the shape.
getter/setter pairinherited
innerRect Rect
The inner rectangle of the shape.
getter/setter pairinherited
maxRotationRadians double
Maximum rotation angle in radians for the chevron lines.
final
nestingLevel int
The number of chevrons to display (navigation depth).
final
outerPath Path
The outer path of the shape.
getter/setter pairinherited
outerRect Rect
The outer rectangle of the shape.
getter/setter pairinherited
paintObject Paint
Paint object used for drawing.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape ShapeBorder
The shape of the Neumorphic element.
finalinherited
strokeWidth double
The width of the stroke for the shape.
finalinherited

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
paintIcon(Canvas canvas) → void
Paints the nested chevron icons on the canvas.
toString() String
A string representation of this object.
inherited

Operators

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