ConstellationBackground constructor

const ConstellationBackground({
  1. Key? key,
  2. int particleCount = 40,
  3. List<Color> colors = const [Colors.blueAccent, Colors.purpleAccent, Colors.tealAccent],
  4. Color lineColor = const Color(0x33FFFFFF),
  5. double maxDistance = 100.0,
  6. double speed = 1.0,
  7. double minRadius = 1.5,
  8. double maxRadius = 4.0,
  9. Widget? child,
  10. bool isPaused = false,
  11. bool enableInteraction = true,
  12. 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,
});