搜尋套件、儲存庫與 APP 分類

animated_clipper 封面
套件詳情v0.2.0+2

animated_clipper

使用動畫裁剪器裁剪您的組件。包含一系列 PathBuilders 和輔助組件。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
46
喜歡數
111
Pub 分數
160

安裝套件

flutter pub add animated_clipper

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

AnimatedClipper 是一個 Flutter 套件,可使用動畫路徑建構器動態裁剪元件。它提供一系列預先定義的路徑產生器和輔助元件,用於建立平滑的動畫形狀過渡。非常適合自訂 UI 效果,例如形狀變形、透過動畫邊界揭露內容,或創造視覺上吸引人的進入和退出效果。該套件支援所有主要平台,使其適用於跨平台應用。它與 Flutter 的動畫系統無縫整合,實現流暢、響應迅速的設計。

適用情境

  • 創建動畫形狀揭示
  • 設計自定義小部件入口
  • 構建變形UI元素
  • 增強啟動畫面
  • 實現互動式裁剪效果

主要特色

  • 預建構的動畫路徑建構器
  • 支援所有 Flutter 平台
  • 與 Flutter 動畫系統的整合
  • 可重複使用的剪裁小組件
  • 平滑過渡動畫

適合對象

  • 尋求視覺魅力的UI設計師
  • 開發互動式介面的開發者
  • 需要動態形狀動畫的應用程式
  • 跨平台應用開發者
  • 創意原型設計

使用建議

  • 需要理解 Path 和 Animation 概念
  • 可能影響複雜路徑的效能
  • 最適合輕量級動畫
  • 不適合高頻率更新
  • 僅限基於形狀的裁剪

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

animated_clipper

Clip your widgets with Animated Clippers.

Reveal widgets with AnimatedClipReveal.

Animate between two widgets with AnimatedCrossClip.

Interactively switch between two widgets with ClipSwitch.

Use ClipPathTransition if you want to use an AnimationController.

A collection of PathBuilders are bundled for rendering (see below)

Example

The example project demonstrates the main widgets

demo

Live Demo

The BEAST app uses animated_clipper for its "todo" screen

demo

PathBuilders

There are a number of PathBuilder classes inclded. Or you can roll your own.

Demo PathBuilder Demo PathBuilder
slideUp slideDown
slideLeft slideRight
splitVerticalIn splitVerticalOut
splitHorizontalIn splitHorizontalOut
circleIn circleOut

所屬分類

原始碼儲存庫

使用此套件的專案