LightPaintRect constructor
LightPaintRect({})
Implementation
LightPaintRect({
required this.progress,
required this.target,
this.colorShadow = Colors.black,
this.opacityShadow = 0.8,
this.offset = 10,
this.radius = 10,
}) : assert(opacityShadow >= 0 && opacityShadow <= 1) {
_paintFocus = Paint()
..color = Colors.transparent
..blendMode = BlendMode.clear;
}