SnowfallWidget constructor

const SnowfallWidget({
  1. Key? key,
  2. required Widget child,
  3. int numberOfSnowflakes = 30,
  4. Color color = Colors.white,
  5. int alpha = 180,
})

Implementation

const SnowfallWidget(
    {Key? key,
    required this.child,
    this.numberOfSnowflakes = 30,
    this.color = Colors.white,
    this.alpha = 180})
    : super(key: key);