LightPaint constructor

LightPaint(
  1. double progress,
  2. Offset positioned,
  3. double sizeCircle, {
  4. Color colorShadow = Colors.black,
  5. double opacityShadow = 0.8,
})

Implementation

LightPaint(
    this.progress,
    this.positioned,
    this.sizeCircle, {
      this.colorShadow = Colors.black,
      this.opacityShadow = 0.8,
    }) : assert(opacityShadow >= 0 && opacityShadow <= 1) {
  _paintFocus = Paint()
    ..color = Colors.transparent
    ..blendMode = BlendMode.clear;
}