套件概覽
Gooey 是一個 Flutter 套件,提供一種與佈局無關、流動的液滴效果,可用於創造視覺衝擊力強的動畫,讓鄰近元素看起來像液體一樣融合。它可在 Android、iOS、Web、macOS、Windows 和 Linux 上順暢運作,非常適合具有動態有機過渡的現代 UI。該套件使用著色器來渲染平滑且可互動的效果,無需複雜的自訂程式碼。完美適用於透過沉浸式視覺反饋提升使用者參與度。
適用情境
- 創建類液體按鈕互動
- 設計動畫背景疊加
- 增強卡片或元素懸停效果
- 建構沉浸式啟動畫面
- 在UI狀態之間添加動態過渡
主要特色
- Shader-based metaball rendering
- Layout-agnostic design
- Cross-platform compatibility
- Smooth, real-time interaction
- Customizable glow and merge intensity
- Minimal setup with intuitive API
適合對象
- UI designers seeking fluid animations
- Developers building interactive dashboards
- Apps focused on visual storytelling
- Gamified interfaces
- Modern, minimalist app designs
使用建議
- May impact performance on low-end devices
- Requires understanding of basic shader concepts
- Best used sparingly to avoid visual clutter
- Not suitable for static or minimalistic UIs
- Limited customization for advanced particle behaviors