AnimationTransition class

@author: wzp_vicky @time: 2023年9月14日08:13:05 @version: V1.1 @description: 这里是写给alert的动画,当然可以延伸使用给别的组件,eg:easy_popu @use:AnimationTransition.fromRight(animation, secondaryAnimation, child);

Constructors

AnimationTransition.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromBottom(Animation<double> animation, Animation<double> secondaryAnimation, Widget child) → dynamic
SlideTransition:从下向上的平移动画
fromLeft(Animation<double> animation, Animation<double> secondaryAnimation, Widget child) → dynamic
SlideTransition:从左向右的平移动画
fromRight(Animation<double> animation, Animation<double> secondaryAnimation, Widget child) → dynamic
SlideTransition:从右向左的平移动画
fromTop(Animation<double> animation, Animation<double> secondaryAnimation, Widget child) → dynamic
SlideTransition:从上向下的平移动画
grow(Animation<double> animation, Animation<double> secondaryAnimation, Widget child) → dynamic
ScaleTransition:缩放子控件动画:, from in to out
shrink(Animation<double> animation, Animation<double> secondaryAnimation, Widget child) → dynamic
ScaleTransition:缩放子控件动画: from out to in