NeumorphicShadowPainter class

Inheritance

Constructors

NeumorphicShadowPainter({required List<Shadow> shadows, ShapeBorder shape = const ContinuousRectangleBorder(), double strokeWidth = 0})

Properties

hashCode int
The hash code for this object.
no setterinherited
innerPath Path
getter/setter pairinherited
innerRect Rect
getter/setter pairinherited
outerPath Path
getter/setter pairinherited
outerRect Rect
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowPaint Paint
final
shadows List<Shadow>
final
shape ShapeBorder
finalinherited
strokeWidth double
finalinherited

Methods

calculateShape(Offset offset, Size size) → void
inherited
convertRadiusToSigma(double radius) double
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paintShadow(Canvas canvas, {Path? path}) → void
toString() String
A string representation of this object.
inherited

Operators

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