AuroraBackground constructor
const
AuroraBackground({ - Key? key,
- int ribbonCount = 4,
- double speed = 0.02,
- double blur = 30.0,
- double intensity = 2.8,
- double waveAmplitude = 120.0,
- double waveLength = 1.2,
- Color backgroundColor = Colors.transparent,
- List<Color> colors = const [Color(0xFF00FFAA), Color(0xFF00AFFF), Color(0xFFA855F7), Color(0xFFFF80ED)],
- double skyDepth = 0.3,
- int starCount = 120,
- Color starColor = Colors.white,
- double starIntensity = 0.6,
- bool enableStars = false,
- bool enableGradientSky = false,
- Brightness? backgroundBrightness,
- Widget? child,
})
Implementation
const AuroraBackground({
super.key,
this.ribbonCount = 4,
this.speed = 0.02,
this.blur = 30.0,
this.intensity = 2.8,
this.waveAmplitude = 120.0,
this.waveLength = 1.2,
this.backgroundColor = Colors.transparent,
this.colors = const [
Color(0xFF00FFAA),
Color(0xFF00AFFF),
Color(0xFFA855F7),
Color(0xFFFF80ED),
],
this.skyDepth = 0.3,
this.starCount = 120,
this.starColor = Colors.white,
this.starIntensity = 0.6,
this.enableStars = false,
this.enableGradientSky = false,
this.backgroundBrightness,
this.child,
});