TextureParticleRenderer constructor
Creates a texture renderer.
blendMode controls how particles composite onto the canvas; use
BlendMode.plus for additive glow effects. paint can be provided to
customize other paint properties.
Implementation
TextureParticleRenderer({BlendMode? blendMode, Paint? paint})
: paint = paint ?? Paint() {
if (blendMode != null) {
this.paint.blendMode = blendMode;
}
}