ParticleBox constructor

const ParticleBox({
  1. Key? key,
  2. required List<Color> colors,
  3. int heightFactor = 4,
  4. double velocityFactor = 0.5,
  5. int particleCount = 150,
  6. double maxWidth = 800,
  7. double maxHeight = 800,
  8. Color backgroundColor = Colors.transparent,
})

Implementation

const ParticleBox({
  super.key,
  required this.colors,
  this.heightFactor = 4,
  this.velocityFactor = 0.5,
  this.particleCount = 150,
  this.maxWidth = 800,
  this.maxHeight = 800,
  this.backgroundColor = Colors.transparent,
});