TwinklingStarsBackground constructor

const TwinklingStarsBackground({
  1. Key? key,
  2. required Widget child,
  3. int starCount = 100,
  4. bool includeBigStars = true,
  5. List<Color> starColors = const [Colors.white],
  6. List<StarShape> starShapes = const [StarShape.fivePoint],
  7. double sizeMultiplier = 1,
})

Implementation

const TwinklingStarsBackground({
  super.key,
  required this.child,
  this.starCount = 100,
  this.includeBigStars = true,
  this.starColors = const [Colors.white],
  this.starShapes = const [StarShape.fivePoint],
  this.sizeMultiplier = 1,
});