flutter_confetti
flutter_confetti copied to clipboard
Emitter Position
I wrap my elements with ConfettiWidget which is clean and convenient but I couldn't figure out a way to change emitter position. It is always on topLeft. What I'd like to do is emit particles from top or center of my element (stars in this example)
Is it possible?
I have the same issue. I fix it with a padding and a blastDirection: pi /2
The alignment widget works quite well to position the emitter position.
Align(
alignment: Alignment.topCenter,
child: ConfettiWidget(
...
),
)