drawParticle method
During
Implementation
@override
void drawParticle(Canvas canvas, Size size, LightingParticle particle) {
canvas.save();
canvas.translate(particle.x, particle.y);
canvas.scale(particle.s, particle.s);
canvas.drawCircle(
Offset.zero,
0.5,
Paint()
..blendMode = BlendMode.clear
..maskFilter =
MaskFilter.blur(BlurStyle.normal, (particle.t / 100.0) / 1));
canvas.restore();
}