flutter_confetti
flutter_confetti copied to clipboard
How to add custom confetti image
i don't want the same stars and particles, i want to add custom png images confetti.
like i want to add coin png to fall from the top of the screen.
Please help me if anyone knows how to add custom image in confetti effect
Yes @flutterPratik, the same feature I want to add custom leave image 🍁 from top to bottom. @shinriyo @agent3bood @bensonwong @thisdarktao Could you please consider this case? I need to submit my project in a few days but I didn't find any best alternative to this.
@amit-flutter I haven't been able to take an in-depth look, but for your use case would it be acceptable to use createParticlePath
with a custom leaf path and provide a few autumnal colours to colors
on the ConfettiWidget
?
I know that isn't exactly what you want, but I'm sure @HayesGordon would appreciate a PR. While it would be possible to implement, there's going to be a tradeoff between particle count, rendering & memory use. See: https://github.com/funwithflutter/flutter_confetti/pull/48#issuecomment-874965606.
Hi! Sorry for the late reply. Owing to how popular a feature request this is, it's something that I will revisit.
i don't want the same stars and particles, i want to add custom png images confetti.
like i want to add coin png to fall from the top of the screen.
Please help me if anyone knows how to add custom image in confetti effect
This feature is what I have been making research on for a few months now, I hope @HayesGordon and his team will be able to give us this feature, it will open up this package for more use cases
Soon
https://media.giphy.com/media/5xtDarzgzG6eu6uVwI0/giphy.gif
Any new updates here ? Would love to use a custom image for our confetti.
seems haven't finalise it
Is this plugin working?
If you like use my code.
https://github.com/funwithflutter/flutter_confetti/pull/95