NeumorphismDecorationPainter constructor
NeumorphismDecorationPainter({
- required NeumorphismStyle style,
- required NeumorphismBoxShape shape,
- required bool drawGradient,
- required bool drawShadow,
- required bool drawBackground,
- required VoidCallback onChanged,
- bool renderingByPath = true,
Implementation
NeumorphismDecorationPainter({
required this.style,
required this.shape,
required this.drawGradient,
required this.drawShadow,
required this.drawBackground,
required VoidCallback onChanged,
this.renderingByPath = true,
}) : super(onChanged) {
generatePainters();
}