Fireworks constructor

const Fireworks({
  1. Key? key,
  2. int itemCount = 12,
  3. required Size size,
  4. required double itemWidthMin,
  5. required double itemWidthMax,
  6. int delayStart = 0,
  7. int duration = 1000,
  8. Color color = Colors.red,
})

Implementation

const Fireworks({
  Key? key,
  this.itemCount = 12,
  required this.size,
  required this.itemWidthMin,
  required this.itemWidthMax,
  this.delayStart = 0,
  this.duration = 1000,
  this.color = Colors.red,
}) : super(key: key);