隱式動畫
進一步了解如何在 Flutter 中使用隱式動畫的相關資訊。
透過 Flutter 的動畫函式庫,
你可以為 UI 中的元件 (Widget) 增添動態效果與視覺特效。
此函式庫的一部分包含了一系列
能自動管理動畫的元件。
這些元件統稱為 隱式動畫(implicit animations),
或稱 隱式動畫元件(implicitly animated widgets),
名稱源自它們所實作的
ImplicitlyAnimatedWidget
類別。
以下資源將提供多種方式,協助你學習
如何在 Flutter 中使用隱式動畫。
文件
#- Flutter 動畫 codelab
-
學習隱式與顯式動畫, 並實際動手為完整的 Flutter 應用程式 加入隱式動畫。
AnimatedContainer範例-
一個逐步說明如何使用
AnimatedContainer隱式動畫元件的食譜。 -
ImplicitlyAnimatedWidgetAPI 文件 所有隱式動畫元件皆繼承自
ImplicitlyAnimatedWidget類別。
Flutter in Focus 影片
#Flutter in Focus 影片系列提供 5-10 分鐘的教學, 以實際程式碼示範每位 Flutter 開發者都必須掌握的技巧。 以下影片涵蓋與隱式動畫相關的主題。
The Boring Show
#觀看 The Boring Show,跟著 Google 工程師從零開始用 Flutter 開發應用程式。 以下集數介紹如何在新聞聚合應用程式中 使用隱式動畫。
Widget of the Week 影片
#每週推出一支短片,介紹一個元件的重要功能。 約 60 秒內,你將看到該元件的實際程式碼與運作展示。 以下 Widget of the Week 影片涵蓋 隱式動畫元件:
Unless stated otherwise, the documentation on this site reflects Flutter 3.44.0. Page last updated on 2026-06-14. View source or report an issue.