Particles constructor

const Particles({
  1. Key? key,
  2. required List<Particle> particles,
  3. required double height,
  4. required double width,
  5. bool connectDots = false,
  6. Emitter? particleEmitter,
  7. ParticlePhysics? particlePhysics,
  8. BoundType boundType = BoundType.None,
  9. ParticleInteraction? interaction,
})

Creates a widget that handles per-frame animation of particles.

Implementation

const Particles({
  Key? key,
  required this.particles,
  required this.height,
  required this.width,
  this.connectDots = false,
  this.particleEmitter,
  this.particlePhysics,
  this.boundType = BoundType.None,
  this.interaction,
}) : super(key: key);