flutter_confetti icon indicating copy to clipboard operation
flutter_confetti copied to clipboard

How to add custom confetti image

Open flutterPratik opened this issue 2 years ago • 9 comments

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

flutterPratik avatar Jul 12 '22 15:07 flutterPratik

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 avatar Aug 05 '22 05:08 amit-flutter

@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.

adamhalesworth avatar Aug 07 '22 16:08 adamhalesworth

Hi! Sorry for the late reply. Owing to how popular a feature request this is, it's something that I will revisit.

HayesGordon avatar Sep 04 '22 06:09 HayesGordon

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

techwithlanre avatar Jan 16 '23 17:01 techwithlanre

Soon

https://media.giphy.com/media/5xtDarzgzG6eu6uVwI0/giphy.gif

HayesGordon avatar Jan 16 '23 21:01 HayesGordon

Any new updates here ? Would love to use a custom image for our confetti.

ahetawal-p avatar Oct 24 '23 21:10 ahetawal-p

seems haven't finalise it

DarenF-20C avatar Feb 07 '24 09:02 DarenF-20C

Is this plugin working?

shinriyo avatar Jun 29 '24 05:06 shinriyo

If you like use my code.

https://github.com/funwithflutter/flutter_confetti/pull/95

shinriyo avatar Jun 30 '24 11:06 shinriyo