V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
taozhiw
V2EX  ›  Flutter

写了个 flutter 版的 confetti(放礼花)包

  •  
  •   taozhiw · 45 天前 · 1265 次点击
    这是一个创建于 45 天前的主题,其中的信息可能已经有所发展或是发生改变。

    之前看到 canvas-confetti 做的 confetti 动画挺好的,花了几天时间在 flutter 上实现了下。

    仓库地址: https://github.com/cj0x39e/flutter_confetti

    在线预览地址: https://cj0x39e.github.io/flutter_confetti/

    分享给大家,也许用的上呢🎉

    13 条回复    2024-08-06 09:56:26 +08:00
    qianlifeng
        1
    qianlifeng  
       45 天前
    desktop 上面有可能全屏显示动画么?
    yinft
        2
    yinft  
       45 天前
    很好玩,已 star
    jatesun
        3
    jatesun  
       45 天前
    挺有意思的,star 了
    artshooter
        4
    artshooter  
       45 天前
    cool
    taozhiw
        5
    taozhiw  
    OP
       45 天前
    @qianlifeng 在 Mac 上试了下是全屏的,理论上在任何平台都是全屏的,因为是在最顶层盖的 canvas
    qianlifeng
        6
    qianlifeng  
       45 天前
    @taozhiw 我的意思是能做到脱离 canvas 嘛(一个隐藏的 canvas , 不过可能需要 flutter 的多窗口支持了),类似这样 https://s1.locimg.com/2024/08/05/662c990ea219c.png
    taozhiw
        7
    taozhiw  
    OP
       45 天前
    这个暂时没什么思路,回头研究下
    taozhiw
        8
    taozhiw  
    OP
       45 天前
    @qianlifeng 这个暂时没什么思路,回头研究下
    liu731
        9
    liu731  
       45 天前
    很酷,🌟
    n3r0
        10
    n3r0  
       45 天前
    好看,有用,已 Star ,感谢🙏
    GooMS
        11
    GooMS  
       45 天前 via Android
    Lgtm
    viayie
        12
    viayie  
       45 天前
    Cool~ 顺带一提,Raycast 输入 Confetti 也有放礼花,非常好看,楼主可以看看也复刻一下 🎉
    taozhiw
        13
    taozhiw  
    OP
       45 天前
    @viayie 可以,有空了装了看看
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5582 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 02:44 · PVG 10:44 · LAX 19:44 · JFK 22:44
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.