FireworksDisplay constructor
const
FireworksDisplay({
- required FireworksController controller,
- Key? key,
A StatefulWidget that displays a fireworks animation.
Just put it at as the top layer of your Stack and then call the
fireworksController.fireSingleRocket()
or
fireworksController.fireMultipleRockets()
method to start the fireworks.
Implementation
const FireworksDisplay({
required this.controller,
super.key,
});