ezanimation
0.6.0, released 5 years ago by joshi.dev
Simplify Flutter animations without dealing with AnimationControllers, Tweens, or explicit Tickers.
What it does
Provides a wrapper class EzAnimation that simplifies defining and controlling animations, sequences, and special tweens without boilerplate. It manages lifecycle details like navigation events and ticker setup through straightforward helper constructors.
AI-written summary of version 0.6.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to create custom animations quickly without managing AnimationControllers or Tickers manually.
- You need to build sequential animations or use specialized tweens like ColorTween with minimal boilerplate.
Skip it when
- You prefer completely declarative or physics-based animation paradigms.
- You need complex choreography across multiple distinct controllers that require fine-grained low-level control.
Strengths
- Removes boilerplate associated with AnimationControllers and TickerProvidermixins.
- Supports animation sequences and custom tweens like ColorTween out of the box.
- Includes navigation handling to pause or reset animations when navigating away.
Weaknesses
- Using EzAnimation without context or vsync can be less performant.
- Paused animations sometimes need to be manually restarted upon returning to the screen depending on the setup method.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
EzAnimation ezAnimation = EzAnimation(50.0, 200.0, Duration(seconds: 2));
ezAnimation.start();Alternatives
Packages that do the same job and could replace ezanimation.
- flutter_spritesheet_animation
Lightweight spritesheet animation widget for Flutter with grid and JSON atlas support.
78Compare - sa3_liquid
Liquid implementation from simple animations 3.x
45Compare - show_up_animation
Widget that animates a child into view with optional delay and direction
56Compare - animation_list
A simple animation listview widget that shows list items by sliding and bouncing.
50Compare
Works with
Packages commonly used together with ezanimation: ones it builds on, ones built on it, and its own family.