NeumorphicEmbossDecorationPainter class

Inheritance

Constructors

NeumorphicEmbossDecorationPainter({required NeumorphicStyle style, required bool drawBackground, required bool drawShadow, required VoidCallback onChanged, NeumorphicBoxShape? shape})

Properties

drawBackground bool
final
drawShadow bool
final
hashCode int
The hash code for this object.
no setterinherited
onChanged VoidCallback?
Callback that is invoked if an asynchronously-loading resource used by the decoration finishes loading. For example, an image. When this is invoked, the paint method should be called again.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape NeumorphicBoxShape
final
style NeumorphicStyle
final

Methods

dispose() → void
Discard any resources being held by the object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Canvas canvas, Offset offset, ImageConfiguration configuration) → void
Paints the Decoration for which this object was created on the given canvas using the given configuration.
override
toString() String
A string representation of this object.
inherited

Operators

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