TransitionBuilders class abstract
A utility class that provides a set of transition builders.
It can be used to create custom transitions for the overlay.
See also:
- Transition, which uses these builders to create transitions.
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
-
fade(
AnimationController controller, Widget child, {Curve curve = Curves.easeInOut}) → Widget - A transition that fades the child in and out.
-
rotation(
AnimationController controller, Widget child, {Curve curve = Curves.easeInOut}) → Widget - A transition that rotates the child.
-
scale(
AnimationController controller, Widget child, {Curve curve = Curves.easeInOut}) → Widget - A transition that scales the child.
-
size(
AnimationController controller, Widget child, {Axis axis = Axis.vertical, Curve curve = Curves.easeInOut, double axisAlignment = 0.0, double? fixedCrossAxisSizeFactor}) → Widget - A transition that animates the size of the child.
-
slideFromBottom(
AnimationController controller, Widget child, {Curve curve = Curves.easeOut}) → Widget - A transition that slides the child from the bottom.
-
slideFromBottomLeft(
AnimationController controller, Widget child, {Curve curve = Curves.easeOut}) → Widget - A transition that slides the child from the bottom left.
-
slideFromBottomRight(
AnimationController controller, Widget child, {Curve curve = Curves.easeOut}) → Widget - A transition that slides the child from the bottom right.
-
slideFromLeft(
AnimationController controller, Widget child, {Curve curve = Curves.easeOut}) → Widget - A transition that slides the child from the left.
-
slideFromRight(
AnimationController controller, Widget child, {Curve curve = Curves.easeOut}) → Widget - A transition that slides the child from the right.
-
slideFromTop(
AnimationController controller, Widget child, {Curve curve = Curves.easeOut}) → Widget - A transition that slides the child from the top.
-
slideFromTopLeft(
AnimationController controller, Widget child, {Curve curve = Curves.easeOut}) → Widget - A transition that slides the child from the top left.
-
slideFromTopRight(
AnimationController controller, Widget child, {Curve curve = Curves.easeOut}) → Widget - A transition that slides the child from the top right.