taozhiw
V2EX  ›  Flutter

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

  •  
  •   taozhiw · Aug 5, 2024 · 3414 views
    This topic created in 824 days ago, the information mentioned may be changed or developed.

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

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

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

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

    13 replies  •  2024-08-06 09:56:26 +08:00
    qianlifeng
    qianlifeng
    Aug 5, 2024
    1
    desktop 上面有可能全屏显示动画么?
    yinft
    yinft
    Aug 5, 2024
    2
    很好玩,已 star
    jatesun
    jatesun
    Aug 5, 2024
    3
    挺有意思的,star 了
    artshooter
    artshooter
    Aug 5, 2024
    4
    cool
    taozhiw
    taozhiw
    OP
    Aug 5, 2024
    5
    @qianlifeng 在 Mac 上试了下是全屏的,理论上在任何平台都是全屏的,因为是在最顶层盖的 canvas
    qianlifeng
    qianlifeng
    Aug 5, 2024
    6
    @taozhiw 我的意思是能做到脱离 canvas 嘛(一个隐藏的 canvas , 不过可能需要 flutter 的多窗口支持了),类似这样 https://s1.locimg.com/2024/08/05/662c990ea219c.png
    taozhiw
    taozhiw
    OP
    Aug 5, 2024
    7
    这个暂时没什么思路,回头研究下
    taozhiw
    taozhiw
    OP
    Aug 5, 2024
    8
    @qianlifeng 这个暂时没什么思路,回头研究下
    Nasdaq
    Nasdaq
    Aug 5, 2024
    9
    很酷,🌟
    n3r0
    n3r0
    Aug 5, 2024
    10
    好看,有用,已 Star ,感谢🙏
    3IOhG7M0knRu5UlC
    3IOhG7M0knRu5UlC
    Aug 5, 2024 via Android
    11
    Lgtm
    viayie
    viayie
    Aug 6, 2024
    12
    Cool~ 顺带一提,Raycast 输入 Confetti 也有放礼花,非常好看,楼主可以看看也复刻一下 🎉
    taozhiw
    taozhiw
    OP
    Aug 6, 2024
    13
    @viayie 可以,有空了装了看看
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1710 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 132ms · UTC 12:03 · PVG 20:03 · LAX 04:03 · JFK 07:03
    ♥ Do have faith in what you're doing.