BackIconPainter class

A custom painter that draws a back icon with a neumorphic design.

This class extends NeumorphicShapePainter to provide a custom painting implementation for a back icon, typically used for navigation purposes in a user interface.

Inheritance

Constructors

BackIconPainter.new({required Color color, required double strokeWidth})
Creates a BackIconPainter.

Properties

color Color
The color of the icon.
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
The maximum rotation angle for the icon.
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
The paint object used to draw the icon.
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 back icon onto the given canvas.
toString() String
A string representation of this object.
inherited

Operators

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