magic_animations library

magic_animations — beautiful, easy-to-use Flutter animations.

Use the wrapper widgets directly (FadeIn(child: ...)) or the chainable extension methods on any widget (myWidget.fadeIn().slideUp()).

Classes

AnimateController
Drives an magic_animations animation imperatively.
AnimateDefaults
Shared default values used across every magic_animations animation.
BlurIn
Reveals child by animating a Gaussian blur from sigma down to zero, while fading in.
BouncyTap
Gives child a springy overshoot bounce each time it is tapped.
Dissolve
Dissolves child in (or out) with a noisy, glowing burn edge.
FadeIn
Fades child in from transparent to opaque.
FlipIn
Flips child into view with a 3D perspective rotation, fading in.
Glow
Renders a soft, pulsing colored glow behind child.
GradientFlow
Paints child's pixels with a flowing, animated two-color gradient.
Jiggle
Rocks child back and forth to draw attention (like a wobbling app icon).
Liquid
Fills the space behind child with a swirling two-color "liquid" plasma.
PressScale
Shrinks child while pressed and springs it back on release.
PrintIn
Reveals child by "printing" it out through a slot — the content unrolls from from, its leading edge advancing like paper feeding out of a terminal.
RippleTap
Emits an expanding, fading ripple from the touch point on each tap.
ScaleIn
Scales child up from begin to its full size while fading in.
Shimmer
Sweeps a soft highlight band across child on a loop.
SlideIn
Slides child in from a given direction while fading it in.

Enums

AnimateCommand
A command emitted by an AnimateController to a driven animation.
AnimateTrigger
Controls when an entrance animation begins playing.
FlipAxis
The axis a FlipIn rotates around.
RevealEdge
The edge a PrintIn unrolls out from.
SlideDirection
The edge a SlideIn travels in from.

Extensions

AnimateX on Widget
Chainable animation sugar on any Widget.