史上最全的Flutter 隐式动画源代码
隐式动画,主要是属性的变化。如下列表,有容器、字体、透明度、间隔、位置、主题等各种方式的动画。这些动画实现相对简单,从下列表可以看出,前面都是以Animated开头的。。
- TweenAnimationBuilder, which animates any property expressed by a Tween to a specified target value.
- AnimatedAlign, which is an implicitly animated version of Align.
- AnimatedContainer, which is an implicitly animated version of Container.
- AnimatedDefaultTextStyle, which is an implicitly animated version of DefaultTextStyle.
- AnimatedOpacity, which is an implicitly animated version of Opacity.
- AnimatedPadding, which is an implicitly animated version of Padding.
- AnimatedPhysicalModel, which is an implicitly animated version of PhysicalModel.
- AnimatedPositioned, which is an implicitly animated version of Positioned.
- AnimatedPositionedDirectional, which is an implicitly animated version of PositionedDirectional.
- AnimatedTheme, which is an implicitly animated version of Theme.
- AnimatedCrossFade, which cross-fades between two given children and animates itself between their sizes.
- AnimatedSize, which automatically transitions its size over a given duration.
- AnimatedSwitcher, which fades from one widget to another.
https://download.youkuaiyun.com/download/computerclass/20298818
如有问题,请留言。。。