之前看到 canvas-confetti 做的 confetti 动画挺好的,花了几天时间在 flutter 上实现了下。
仓库地址: https://github.com/cj0x39e/flutter_confetti
在线预览地址: https://cj0x39e.github.io/flutter_confetti/
分享给大家,也许用的上呢🎉
![]() |
1
qianlifeng 196 天前
desktop 上面有可能全屏显示动画么?
|
2
yinft 196 天前
很好玩,已 star
|
![]() |
3
jatesun 196 天前
挺有意思的,star 了
|
![]() |
4
artshooter 196 天前
cool
|
5
taozhiw OP @qianlifeng 在 Mac 上试了下是全屏的,理论上在任何平台都是全屏的,因为是在最顶层盖的 canvas
|
![]() |
6
qianlifeng 196 天前
@taozhiw 我的意思是能做到脱离 canvas 嘛(一个隐藏的 canvas , 不过可能需要 flutter 的多窗口支持了),类似这样 https://s1.locimg.com/2024/08/05/662c990ea219c.png
|
7
taozhiw OP 这个暂时没什么思路,回头研究下
|
8
taozhiw OP @qianlifeng 这个暂时没什么思路,回头研究下
|
![]() |
9
liu731 196 天前
很酷,🌟
|
![]() |
10
n3r0 196 天前
好看,有用,已 Star ,感谢🙏
|
![]() |
11
GooMS 196 天前 via Android
Lgtm
|
![]() |
12
viayie 195 天前
Cool~ 顺带一提,Raycast 输入 Confetti 也有放礼花,非常好看,楼主可以看看也复刻一下 🎉
|