NeumorphismDecorationPainter class
- Inheritance
-
- Object
- BoxPainter
- NeumorphismDecorationPainter
Constructors
- NeumorphismDecorationPainter({required NeumorphismStyle style, required NeumorphismBoxShape shape, required bool drawGradient, required bool drawShadow, required bool drawBackground, required VoidCallback onChanged, bool renderingByPath = true})
Properties
- drawBackground → bool
-
final
- drawGradient → 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
- renderingByPath → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → NeumorphismBoxShape
-
final
- style → NeumorphismStyle
-
final
Methods
-
dispose(
) → void -
Discard any resources being held by the object.
inherited
-
generatePainters(
) → void -
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