PlasmaRenderer constructor
const
PlasmaRenderer({
- Key? key,
- PlasmaType type = PlasmaType.infinity,
- ParticleType particleType = ParticleType.circle,
- int particles = 10,
- Color color = Colors.white,
- double size = 1.0,
- double speed = 1.0,
- double offset = 0.0,
- int? fps,
- BlendMode blendMode = BlendMode.srcOver,
- double blur = 1.0,
- double variation1 = 0.0,
- double variation2 = 0.0,
- double variation3 = 0.0,
- double rotation = 0.0,
- Widget? child,
Implementation
const PlasmaRenderer({
Key? key,
this.type = PlasmaType.infinity,
this.particleType = ParticleType.circle,
this.particles = 10,
this.color = Colors.white,
this.size = 1.0,
this.speed = 1.0,
this.offset = 0.0,
this.fps,
this.blendMode = BlendMode.srcOver,
this.blur = 1.0,
this.variation1 = 0.0,
this.variation2 = 0.0,
this.variation3 = 0.0,
this.rotation = 0.0,
this.child,
}) : super(key: key);