magic_animations 0.2.0
magic_animations: ^0.2.0 copied to clipboard
Beautiful, easy-to-use Flutter animations. Chainable entrance, interactive, and GLSL shader effects with a dead-simple API.
0.2.0 #
New entrance animations #
CountUp— animates a number from a start to end value, with configurable decimals and formatting.Typewriter— reveals text one character at a time, with an optional blinking cursor.
Scroll-triggered playback #
AnimateTrigger.onVisible— play the first time a widget scrolls into view, instead of the moment it's built. Tunable via the newvisibleFraction.
Staggering #
Stagger— wrap list/grid items so entrance animations underneath cascade in by position instead of all firing at once.Stagger.list()helper for fixed lists of already-built widgets.
Lifecycle callbacks #
onStart/onCompleteon every entrance animation, so app code can react when a play actually starts or finishes.
0.1.0 #
Initial release.
Entrance animations #
FadeIn,SlideIn(up/down/left/right),ScaleIn,BlurIn,FlipIn,PrintIn(unroll/reveal through a slot, like a printing receipt),Shimmer.
Interactive animations #
PressScale,BouncyTap,RippleTap,Jiggle(with optional haptics).
Shader effects #
Glow,Liquid,Dissolve,GradientFlow(GLSL fragment shaders).
API #
- Wrapper widgets plus chainable extension methods on
Widget(.fadeIn(),.pressScale(), ...). - Manual control via
AnimateControllerandAnimateTrigger.