老孟導讀:Flutter 動畫系列文章分爲三部分:基礎原理和核心概念、系統動畫組件、8篇自定義動畫案例,共17篇。html
在開發App的過程當中,自定義動畫必不可少,Flutter 中想要自定義動畫,首先要理解 Flutter 動畫實現的基本原理及相關概念。git
第1-4篇介紹了 Flutter 動畫中最重要的三個概念以及三者之間的關係:微信
第5篇講解了動畫序列 TweenSequence,其將多個 Tween 或者 Curve 關聯到一個 AnimationController 中。ide
文章連接:學習
第6篇介紹了20多種系統動畫組件的用法以及如何選取使用哪種組件,乍一看20多種系統動畫組件很是多,但其僅分爲隱式動畫組件 和 顯式動畫組件 兩種,用法基本同樣。文章地址:http://laomengit.com/guide/animation/AnimatedWidget.html動畫
第7篇講解 AnimatedList 列表增/刪動畫組件:http://laomengit.com/guide/animation/AnimatedList.htmlui
第8篇講解 Hero 共享動畫組件:http://laomengit.com/guide/animation/Hero.htmlhtm
第9篇講解 Material motion 動畫,Material motion 是 Flutter 1.17 大會上 Flutter 團隊發佈的新的 Animations 軟件包,該軟件包提供了實現新的 Material motion 規範的預構建動畫:http://laomengit.com/guide/animation/TranslationAnimations.html對象
第10篇案例-自定義路由動畫:http://laomengit.com/guide/animation/NavigatorAnimation.htmlblog
第11篇案例-「孔雀開屏」的動畫效果:http://laomengit.com/guide/animation/Peacock.html
第12篇案例-自定義漸變進度條:http://laomengit.com/guide/animation/CircleProgress.html
第13篇案例-自繪玫瑰:http://laomengit.com/guide/animation/Rose.html
第14篇案例-仿掘金點贊:http://laomengit.com/guide/animation/JuejinLike.html
第15篇案例-酷炫的3D效果:http://laomengit.com/guide/animation/3DPerspective.html
第16篇案例-漣漪效果:http://laomengit.com/guide/animation/WaterRipple.html
第17篇案例-雷達掃描效果:http://laomengit.com/guide/animation/Radar.html
不少人都以爲 Flutter 動畫比較難,很差入門,不少讀者也反饋如何才能自定義動畫?下面是我對學習 Flutter 動畫的一些方法:
我的以爲只有經過多寫才能理解的更加深入,紙上得來終覺淺,絕知此事要躬行。
Flutter 動畫系列已經所有完成,若是對你有所幫助,請不要吝惜你的贊 和 轉發。
老孟Flutter博客地址(330個控件用法):http://laomengit.com
歡迎加入Flutter交流羣(微信:laomengit)、關注公衆號【老孟Flutter】: