PlasmaRenderer constructor

const PlasmaRenderer({
  1. Key? key,
  2. PlasmaType type = PlasmaType.infinity,
  3. ParticleType particleType = ParticleType.circle,
  4. int particles = 10,
  5. Color color = Colors.white,
  6. double size = 1.0,
  7. double speed = 1.0,
  8. double offset = 0.0,
  9. int? fps,
  10. BlendMode blendMode = BlendMode.srcOver,
  11. double blur = 1.0,
  12. double variation1 = 0.0,
  13. double variation2 = 0.0,
  14. double variation3 = 0.0,
  15. double rotation = 0.0,
  16. 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);