Plasma constructor

const Plasma({
  1. Key? key,
  2. int particles = 10,
  3. Color foregroundColor = Colors.white,
  4. Color backgroundColor = Colors.black,
  5. double size = 1.0,
  6. double speed = 1.0,
  7. double offset = 0.0,
  8. int? fps,
  9. BlendMode blendMode = BlendMode.srcOver,
  10. Widget? child,
})

Implementation

const Plasma({
  Key? key,
  this.particles = 10,
  this.foregroundColor = Colors.white,
  this.backgroundColor = Colors.black,
  this.size = 1.0,
  this.speed = 1.0,
  this.offset = 0.0,
  this.fps,
  this.blendMode = BlendMode.srcOver,
  this.child,
}) : super(key: key);