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
Static Methods
-
box({required BoxDecoration decoration, BoxDecoration? endDecoration, EdgeInsets padding = EdgeInsets.zero, EdgeInsets? endPadding})
→ MotionWidgetBuilder
-
Decorates with the
decoration
as a Container
.
-
clip({required Rect startAmount, required Rect endAmount})
→ MotionWidgetBuilder
-
Clips from the
startAmount
to endAmount
.
-
clipBox({required BoxDecoration decoration, required Rect startAmount, required Rect endAmount, BoxDecoration? endDecoration, EdgeInsets padding = EdgeInsets.zero, EdgeInsets? endPadding})
→ MotionWidgetBuilder
-
A combination of clip and box.
-
closeBoxFromAllSides({required BoxDecoration decoration, BoxDecoration? endDecoration, EdgeInsets padding = EdgeInsets.zero, EdgeInsets? endPadding})
→ MotionWidgetBuilder
-
A clipBox that closes from all sides to center.
-
closeBoxFromBottom({required BoxDecoration decoration, BoxDecoration? endDecoration, EdgeInsets padding = EdgeInsets.zero, EdgeInsets? endPadding})
→ MotionWidgetBuilder
-
A clipBox that closes from top.
-
closeBoxFromLeft({required BoxDecoration decoration, BoxDecoration? endDecoration, EdgeInsets padding = EdgeInsets.zero, EdgeInsets? endPadding})
→ MotionWidgetBuilder
-
A clipBox that closes from left.
-
closeBoxFromRight({required BoxDecoration decoration, BoxDecoration? endDecoration, EdgeInsets padding = EdgeInsets.zero, EdgeInsets? endPadding})
→ MotionWidgetBuilder
-
A clipBox that closes from right.
-
closeBoxFromTop({required BoxDecoration decoration, BoxDecoration? endDecoration, EdgeInsets padding = EdgeInsets.zero, EdgeInsets? endPadding})
→ MotionWidgetBuilder
-
A clipBox that closes from top.
-
combine(List<MotionWidgetBuilder> motions)
→ MotionWidgetBuilder
-
Combine multiple
motions
and apply them recursively in order from first to last.
-
curved(Curve curve, MotionWidgetBuilder motion)
→ MotionWidgetBuilder
-
Apply a
curve
onto the given motion
.
-
fade(double begin, double end)
→ MotionWidgetBuilder
-
Fades from
begin
opacity to end
opacity.
-
fadeFromBottom([double factor = 1.0])
→ MotionWidgetBuilder
-
Combination of slideFromBottom and fadeIn.
-
fadeFromLeft([double factor = 1.0])
→ MotionWidgetBuilder
-
Combination of slideFromLeft and fadeIn.
-
fadeFromRight([double factor = 1.0])
→ MotionWidgetBuilder
-
Combination of slideFromRight and fadeIn.
-
fadeFromTop([double factor = 1.0])
→ MotionWidgetBuilder
-
Combination of slideFromTop and fadeIn.
-
fadeToBottom([double factor = 1.0])
→ MotionWidgetBuilder
-
Combination of slideToBottom and fadeOut.
-
fadeToLeft([double factor = 1.0])
→ MotionWidgetBuilder
-
Combination of slideToLeft and fadeOut.
-
fadeToRight([double factor = 1.0])
→ MotionWidgetBuilder
-
Combination of slideToRight and fadeOut.
-
fadeToTop([double factor = 1.0])
→ MotionWidgetBuilder
-
Combination of slideFromTop and fadeOut.
-
interval(MotionWidgetBuilder motion, {double begin = 0.0, double end = 1.0, Curve curve = Curves.linear})
→ MotionWidgetBuilder
-
Apply the given
motion
into the given interval.
-
openBoxFromBottom({required BoxDecoration decoration, BoxDecoration? endDecoration, EdgeInsets padding = EdgeInsets.zero, EdgeInsets? endPadding})
→ MotionWidgetBuilder
-
A clipBox that opens from bottom.
-
openBoxFromCenter({required BoxDecoration decoration, BoxDecoration? endDecoration, EdgeInsets padding = EdgeInsets.zero, EdgeInsets? endPadding})
→ MotionWidgetBuilder
-
A clipBox that opens from center.
-
openBoxFromLeft({required BoxDecoration decoration, BoxDecoration? endDecoration, EdgeInsets padding = EdgeInsets.zero, EdgeInsets? endPadding})
→ MotionWidgetBuilder
-
A clipBox that opens from left.
-
openBoxFromRight({required BoxDecoration decoration, BoxDecoration? endDecoration, EdgeInsets padding = EdgeInsets.zero, EdgeInsets? endPadding})
→ MotionWidgetBuilder
-
A clipBox that opens from right.
-
openBoxFromTop({required BoxDecoration decoration, BoxDecoration? endDecoration, EdgeInsets padding = EdgeInsets.zero, EdgeInsets? endPadding})
→ MotionWidgetBuilder
-
A clipBox that opens from top.
-
reference(MontageAnimation animation)
→ MotionWidgetBuilder
-
Use the motion of an other
animation
.
-
reverse(MotionWidgetBuilder motion)
→ MotionWidgetBuilder
-
Reverses the given
motion
.
-
rotate({required double startTurns, required double endTurns})
→ MotionWidgetBuilder
-
Rotates from
startTurns
to endTurns
.
-
scale({required double begin, required double end, Alignment alignment = Alignment.center})
→ MotionWidgetBuilder
-
Animates the scale from
begin
to end
.
-
slide({required Alignment begin, required Alignment end, double factor = 1.0})
→ MotionWidgetBuilder
-
Animates the position relative to its normal position.
-
slideFrom(Alignment begin, {double factor = 1.0})
→ MotionWidgetBuilder
-
Animates the position from
begin
to center.
-
slideFromBottom({double factor = 1.0})
→ MotionWidgetBuilder
-
Animates the position from bottom to center.
-
slideFromLeft({double factor = 1.0})
→ MotionWidgetBuilder
-
Animates the position from left to center.
-
slideFromRight({double factor = 1.0})
→ MotionWidgetBuilder
-
Animates the position from right to center.
-
slideFromTop({double factor = 1.0})
→ MotionWidgetBuilder
-
Animates the position from top to center.
-
slideTo(Alignment end, {double factor = 1.0})
→ MotionWidgetBuilder
-
Animates the position from center to
end
.
-
slideToBottom({double factor = 1.0})
→ MotionWidgetBuilder
-
Animates the position from center to bottom.
-
slideToLeft({double factor = 1.0})
→ MotionWidgetBuilder
-
Animates the position from center to left.
-
slideToRight({double factor = 1.0})
→ MotionWidgetBuilder
-
Animates the position from center to right.
-
slideToTop({double factor = 1.0})
→ MotionWidgetBuilder
-
Animates the position from center to top.
-
transform({required Matrix4 begin, required Matrix4 end, Offset? origin})
→ MotionWidgetBuilder
-
Animates the transformation from
begin
to end
.