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

套件詳情v1.1.0

motor

Flutter 的統一運動系統 - 基於物理的彈簧與基於持續時間的曲線,皆透過一個 API 實現。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
9.6萬
喜歡數
252
Pub 分數
140

安裝套件

flutter pub add motor

套件介紹

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

Motor 是 Flutter 的統一運動系統,將基於物理的彈簧與基於時長的曲線結合至單一、直覺的 API 中。它透過抽象複雜的動畫邏輯,簡化了流暢自然動畫的建立。開發者可無縫切換彈簧驅動的動力學與定時緩動曲線,進而於各個平台實現具表現力且回應迅速的使用者介面互動。設計上著重一致性與效能,Motor 與 Flutter 的動畫框架順暢整合,並支援移動、網頁與桌面等主要平台。

適用情境

  • 創建流暢的滾動效果
  • 實現響應式按鈕反饋
  • 構建互動式手勢驅動動畫
  • 設計動態UI過渡
  • 以自然的感覺動畫佈局變更
  • 模擬物理對象的運動

主要特色

  • 統一的彈簧和曲線 API
  • 基於物理的彈簧動畫
  • 基於持續時間的緩動曲線
  • 跨平台相容性
  • 低階控制,高階便利
  • 與 Flutter 動畫系統的無縫整合

適合對象

  • 尋求進階動畫控制的 Flutter 開發人員
  • 需要自然、響應式動作的應用程式
  • 專注於微互動的UI設計師
  • 針對多個平台的專案
  • 希望動畫行為一致的團隊

使用建議

  • 需要理解動畫原理
  • 可能為簡單動畫增加輕微開銷
  • 最佳搭配狀態管理解決方案使用
  • 僅限Flutter生態系統
  • 不適合非互動式靜態動畫

原始 README

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

Rivership Workspace

Powered by Mason melos Code Coverage Bluesky

Rivership is a set of opinionated tools that will get you shipping your Flutter app in no time!

This monorepo contains Rivership, and all its associated packages. Check out the packages/ directory to explore them, or jump straight to the Rivership README.

Package overview

Package pub.dev Description
rivership Pub Version An opinionated infrastructure package for use with hooks_riverpod.
rivership_test Pub Version A set of test utilities that are useful for testing riverpod apps
motor Pub Version A unified motion system for physics-based and duration-based animations.
springster Pub Version Spring animations and simulations, simplified.
heroine Pub Version The queen of hero transitions. Flutter's most addictive interactions.
snaptest Pub Version Snap photos in your widget tests.
scroll_drag_detector Pub Version A drag gesture detector that can deal with scroll views inside of it.
stupid_simple_sheet Pub Version A simple sheet widget for Flutter.

所屬分類

依賴

依賴清單 2 項

原始碼儲存庫

使用此套件的專案