BloomyOrbsBackground constructor
const
BloomyOrbsBackground({ - Key? key,
- int orbCount = 2,
- RangeValues radiusRange = const RangeValues(80, 200),
- double softness = 100,
- double speed = 1.0,
- double parallaxScale = 2.0,
- double intensity = 0.7,
- List<Color> colors = const [Colors.pinkAccent, Colors.cyanAccent, Colors.deepPurpleAccent, Colors.orangeAccent],
- Color backgroundColor = Colors.transparent,
- int? seed,
- double driftStrength = 0.2,
- double bounceDamping = 0.96,
- double chromaticAberration = 2.5,
- double flickerAmplitude = 0.2,
- 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,
});