I tried as given example of code for small project but it crash complete app.
// alignment: Alignment.topCenter,
// child: ConfettiWidget(
// confettiController: _controllerTopCenter,
// blastDirection: pi / 2,
// maxBlastForce: 5, // set a lower max blast force
// minBlastForce: 2, // set a lower min blast force
// emissionFrequency: 0.05,
// numberOfParticles: 50, // a lot of particles at once
// gravity: 1,
// ),
// ),
I tried as given example of code for small project but it crash complete app.