BloomyOrbsBackground constructor

const BloomyOrbsBackground({
  1. Key? key,
  2. int orbCount = 2,
  3. RangeValues radiusRange = const RangeValues(80, 200),
  4. double softness = 100,
  5. double speed = 1.0,
  6. double parallaxScale = 2.0,
  7. double intensity = 0.7,
  8. List<Color> colors = const [Colors.pinkAccent, Colors.cyanAccent, Colors.deepPurpleAccent, Colors.orangeAccent],
  9. Color backgroundColor = Colors.transparent,
  10. int? seed,
  11. double driftStrength = 0.2,
  12. double bounceDamping = 0.96,
  13. double chromaticAberration = 2.5,
  14. double flickerAmplitude = 0.2,
  15. Widget? child,
})

Implementation

const BloomyOrbsBackground({
  super.key,
  this.orbCount = 2,
  this.radiusRange = const RangeValues(80, 200),
  this.softness = 100,
  this.speed = 1.0,
  this.parallaxScale = 2.0,
  this.intensity = 0.7,
  this.colors = const [
    Colors.pinkAccent,
    Colors.cyanAccent,
    Colors.deepPurpleAccent,
    Colors.orangeAccent,
  ],
  this.backgroundColor = Colors.transparent,
  this.seed,
  this.driftStrength = 0.2,
  this.bounceDamping = 0.96,
  this.chromaticAberration = 2.5,
  this.flickerAmplitude = 0.2,
  this.child,
});