ConfettiWidget constructor
- Key? key,
- Preset preset = Preset.nova,
- ConfettiController? controller,
- bool autoPlay = true,
- VoidCallback? onComplete,
- bool enableHaptics = true,
- bool enableSound = false,
- String? soundAssetPath,
- CelebrationFeedback? feedback,
- List<
String> ? emojiPool, - ConfettiCustomization? customization,
- ConfettiShowcase? showcase,
Creates a ConfettiWidget.
Implementation
const ConfettiWidget({
super.key,
this.preset = Preset.nova,
this.controller,
this.autoPlay = true,
this.onComplete,
this.enableHaptics = true,
this.enableSound = false,
this.soundAssetPath,
this.feedback,
this.emojiPool,
this.customization,
this.showcase,
});