NeumorphicSurfacePainter constructor

NeumorphicSurfacePainter({
  1. Gradient? gradient,
  2. Color? color,
  3. Gradient? borderGradient,
  4. double blur = 0,
  5. double borderBlur = 0,
  6. ShapeBorder shape = const ContinuousRectangleBorder(),
  7. double strokeWidth = 0,
})

Implementation

NeumorphicSurfacePainter(
    {this.gradient,
    this.color,
    this.borderGradient,
    this.blur = 0,
    this.borderBlur = 0,
    super.shape,
    super.strokeWidth});