flutter_animate
4.5.2, released 2 years ago by gskinner.com
Add animated effects and builders in Flutter via a unified, customizable chainable API.
What it does
Provides pre-built animations like fade, scale, slide, and blur that can be chained directly to any widget. Allows synchronizing animations to scroll, notifiers, or state changes without manually managing AnimationControllers.
AI-written summary of version 4.5.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to quickly add entrance or interaction animations to widgets with minimal boilerplate.
- You need to coordinate multiple sequential or parallel effects using a clean shorthand syntax.
Skip it when
- You need complex vector graphics animations where a dedicated engine like Rive or Lottie is more appropriate.
- You require physics-based motion engines that heavily rely on interactive gesture simulations.
Strengths
- Intuitive chainable extension methods on all widgets.
- Comprehensive collection of pre-built visual and layout effects.
- Supports scroll and external adapters for advanced synchronization.
Weaknesses
- May require extra custom builders for highly intricate multi-property choreography.
- Global effect reuse requires careful structuring to avoid unexpected shared state behaviors.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Text("Hello World!").animate().fade().scale()Alternatives
Packages that do the same job and could replace flutter_animate.
- lottie
Pick Lottie if you want to use complex, designer-crafted vector animations exported from After Effects.
96Compare - page_transition
Pick page_transition if you specifically need route transition animations between different screens.
77Compare
Works with
Packages commonly used together with flutter_animate: ones it builds on, ones built on it, and its own family.
- flutter_shadersflutter_animate depends on itUtilities and shaders for working with the FragmentProgram API in Flutter
- shadcn_uiBuilt on flutter_animateFlutter port of the shadcn/ui design system with customizable components.
- shadBuilt on flutter_animateA Flutter port of shadcn/ui with 40+ components and no Material dependency.
- delightful_toastBuilt on flutter_animateA toast and snackbar package for rich interactions like slide to dismiss and stacked animations.
- swifty_chatBuilt on flutter_animateFlutter package to build chat UIs with multiple message kinds like text, image, HTML, and carousels.
- document_camera_frameBuilt on flutter_animateCapture and crop document images with a customizable camera interface and edge detection.