magic_animations 0.2.0 copy "magic_animations: ^0.2.0" to clipboard
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 new visibleFraction.

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 / onComplete on 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 AnimateController and AnimateTrigger.
1
likes
160
points
106
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Beautiful, easy-to-use Flutter animations. Chainable entrance, interactive, and GLSL shader effects with a dead-simple API.

Repository (GitHub)
View/report issues

Topics

#animation #ui #effects #shaders #transitions

License

MIT (license)

Dependencies

flutter

More

Packages that depend on magic_animations