1
👻 Basic Fade Effects
Applies a simple opacity fade-in animation from transparent to opaque.
Show Parameters
Show Parameters
The
duration to wait before starting the animation (in milliseconds).The initial opacity value (
0.0 = transparent)The length of the animation (in
milliseconds).If
true, the animation loops indefinitely.If
true, reverses direction when repeating (fade in, then fade out).If
true, the animation starts automatically.The
curve to use for the animation speed.A callback fired when the
AnimationController is initialized.Copy
Text("Hello").fadeIn(duration: 800);
Applies a simple opacity fade-out animation from opaque to transparent.
Show Parameters
Show Parameters
The
duration to wait before starting the animation (in milliseconds).The initial opacity value (
1.0 = opaque).The length of the animation (in
milliseconds).If
true, the animation loops indefinitely.If
true, reverses direction when repeating (fade out, then fade in).If
true, the animation starts automatically.The
curve to use for the animation speed.A callback fired when the
AnimationController is initialized.Copy
// Fade out over 1 second
Widget().fadeOut(duration: 1000);
2
⬇️ Vertical Entrance (Move Y)
Combined fade-in and slide-up entrance. The widget moves up from the bottom edge by
verticalOffset pixels.Show Parameters
Show Parameters
The starting distance (in pixels) the widget moves up from.
The
duration to wait before starting the animation (in milliseconds).The length of the animation (in
milliseconds).If
true, the animation loops indefinitely.If
true, reverses direction when repeating.If
true, the animation starts automatically.The
curve to use for the animation speed.A callback fired when the
AnimationController is initialized.Copy
const Card().fadeInMoveInBottom(verticalOffset: 100);
Slide-up entrance with a quick, light overshoot and settlement (a light bounce).
Show Parameters
Show Parameters
The starting distance (in pixels) the widget moves up from.
The
duration to wait before starting the animation (in milliseconds).The length of the animation (in
milliseconds).If
true, the animation loops indefinitely.If
true, reverses direction when repeating.If
true, the animation starts automatically.A callback fired when the
AnimationController is initialized.Copy
Text("Bouncy").fadeInMoveInBottomBouncy();
Slide-up entrance with a strong, oscillating bounce using
Curves.elasticOut.Show Parameters
Show Parameters
The starting distance (in pixels) the widget moves up from.
The
duration to wait before starting the animation (in milliseconds).The length of the animation (in
milliseconds).If
true, the animation loops indefinitely.If
true, reverses direction when repeating.If
true, the animation starts automatically.A callback fired when the
AnimationController is initialized.Copy
Image.asset("path/to/logo").fadeInMoveInBottomStickyBouncy();
Combined fade-in and slide-down entrance. The widget moves down from the top edge by
verticalOffset pixels.Show Parameters
Show Parameters
The starting distance (in pixels) the widget moves down from.
The
duration to wait before starting the animation (in milliseconds).The length of the animation (in
milliseconds).If
true, the animation loops indefinitely.If
true, reverses direction when repeating.If
true, the animation starts automatically.The
curve to use for the animation speed.A callback fired when the
AnimationController is initialized.Copy
const AppBar().fadeInMoveInTop();
Slide-down entrance with a quick, light overshoot and settlement (a light bounce).
Show Parameters
Show Parameters
The starting distance (in pixels) the widget moves down from.
The
duration to wait before starting the animation (in milliseconds).The length of the animation (in
milliseconds).If
true, the animation loops indefinitely.If
true, reverses direction when repeating.If
true, the animation starts automatically.A callback fired when the
AnimationController is initialized.Copy
Text("Title").fadeInMoveInTopBouncy();
Slide-down entrance with a strong, oscillating bounce using
Curves.elasticOut.Show Parameters
Show Parameters
The starting distance (in pixels) the widget moves down from.
The
duration to wait before starting the animation (in milliseconds).The length of the animation (in
milliseconds).If
true, the animation loops indefinitely.If
true, reverses direction when repeating.If
true, the animation starts automatically.A callback fired when the
AnimationController is initialized.Copy
Image.network(url).fadeInMoveInTopStickyBouncy();
3
➡️ Horizontal Entrance (Move X)
Combined fade-in and slide-in entrance from the left edge.
Show Parameters
Show Parameters
The starting distance (in pixels) the widget moves from the left.
The
duration to wait before starting the animation (in milliseconds).The length of the animation (in
milliseconds).If
true, the animation loops indefinitely.If
true, reverses direction when repeating.If
true, the animation starts automatically.The
curve to use for the animation speed.A callback fired when the
AnimationController is initialized.Copy
const Text("Menu").fadeInMoveInLeft();
Slide-in from the left with a quick, light overshoot and settlement.
Show Parameters
Show Parameters
The starting distance (in pixels) the widget moves from the left.
The
duration to wait before starting the animation (in milliseconds).The length of the animation (in
milliseconds).If
true, the animation loops indefinitely.If
true, reverses direction when repeating.If
true, the animation starts automatically.A callback fired when the
AnimationController is initialized.Copy
const Text("Menu").fadeInMoveInLeftBouncy();
Slide-in from the left with a strong, oscillating bounce using
Curves.elasticOut.Show Parameters
Show Parameters
The starting distance (in pixels) the widget moves from the left.
The
duration to wait before starting the animation (in milliseconds).The length of the animation (in
milliseconds).If
true, the animation loops indefinitely.If
true, reverses direction when repeating.If
true, the animation starts automatically.A callback fired when the
AnimationController is initialized.Copy
const Text("Menu").fadeInMoveInLeftStickyBouncy();
Combined fade-in and slide-in entrance from the right edge.
Show Parameters
Show Parameters
The starting distance (in pixels) the widget moves from the right.
The
duration to wait before starting the animation (in milliseconds).The length of the animation (in
milliseconds).If
true, the animation loops indefinitely.If
true, reverses direction when repeating.If
true, the animation starts automatically.The
curve to use for the animation speed.A callback fired when the
AnimationController is initialized.Copy
const Icon(Icons.close).fadeInMoveInRight();
Slide-in from the right with a quick, light overshoot and settlement.
Show Parameters
Show Parameters
The starting distance (in pixels) the widget moves from the right.
The
duration to wait before starting the animation (in milliseconds).The length of the animation (in
milliseconds).If
true, the animation loops indefinitely.If
true, reverses direction when repeating.If
true, the animation starts automatically.A callback fired when the
AnimationController is initialized.Copy
const Icon(Icons.close).fadeInMoveInRightBouncy();
Slide-in from the right with a strong, oscillating bounce using
Curves.elasticOut.Show Parameters
Show Parameters
The starting distance (in pixels) the widget moves from the right.
The
duration to wait before starting the animation (in milliseconds).The length of the animation (in
milliseconds).If
true, the animation loops indefinitely.If
true, reverses direction when repeating.If
true, the animation starts automatically.A callback fired when the
AnimationController is initialized.Copy
const Image().fadeInMoveInRightStickyBouncy();
