BlurPainter constructor

const BlurPainter({
  1. required ShapePainter basePainter,
  2. required double blurRadius,
  3. BlurStyle blurStyle = BlurStyle.normal,
  4. bool applyAfter = true,
})

Creates a blur painter.

basePainter is the painter to apply the blur effect to. blurRadius is the radius of the blur effect. blurStyle is the style of the blur effect. applyAfter is whether the blur should be applied after the base painter.

Implementation

const BlurPainter({
  required this.basePainter,
  required this.blurRadius,
  this.blurStyle = BlurStyle.normal,
  this.applyAfter = true,
});