ConstellationBackground constructor
const
ConstellationBackground({
- Key? key,
- int particleCount = 40,
- List<
Color> colors = const [Colors.blueAccent, Colors.purpleAccent, Colors.tealAccent], - Color lineColor = const Color(0x33FFFFFF),
- double maxDistance = 100.0,
- double speed = 1.0,
- double minRadius = 1.5,
- double maxRadius = 4.0,
- Widget? child,
- bool isPaused = false,
- bool enableInteraction = true,
- Color? backgroundColor,
Implementation
const ConstellationBackground({
super.key,
this.particleCount = 40,
this.colors = const [Colors.blueAccent, Colors.purpleAccent, Colors.tealAccent],
this.lineColor = const Color(0x33FFFFFF),
this.maxDistance = 100.0,
this.speed = 1.0,
this.minRadius = 1.5,
this.maxRadius = 4.0,
this.child,
this.isPaused = false,
this.enableInteraction = true,
this.backgroundColor,
});