FuzzyCirclesBackground constructor

const FuzzyCirclesBackground({
  1. Key? key,
  2. int circleCount = 5,
  3. RangeValues radiusRange = const RangeValues(50, 180),
  4. double softness = 80,
  5. double speed = 5,
  6. double parallaxScale = 2.0,
  7. double intensity = 1.7,
  8. List<Color> colors = const [Colors.cyanAccent, Colors.purpleAccent, Colors.blue],
  9. Color backgroundColor = Colors.transparent,
  10. Widget? child,
  11. int? seed,
  12. double driftStrength = 0.15,
  13. double bounceDamping = 0.98,
  14. double falloff = 1.6,
  15. double spacingFactor = 1.2,
})

Implementation

const FuzzyCirclesBackground({
  super.key,
  this.circleCount = 5,
  this.radiusRange = const RangeValues(50, 180),
  this.softness = 80,
  this.speed = 5,
  this.parallaxScale = 2.0,
  this.intensity = 1.7,
  this.colors = const [
    Colors.cyanAccent,
    Colors.purpleAccent,
    Colors.blue
  ],
  this.backgroundColor = Colors.transparent,
  this.child,
  this.seed,
  this.driftStrength = 0.15,
  this.bounceDamping = 0.98,
  this.falloff = 1.6,
  this.spacingFactor = 1.2,
});