widget_and_text_animator
1.1.5, released 3 years ago by reactle.com
Collection of built-in widget and staggered text animation effects.
What it does
Provides wrapper widgets like WidgetAnimator and TextAnimator to easily apply incoming, at rest, and outgoing animations to standard widgets and strings without boilerplate code. It supports various effects such as opacity, offset, blur, rotation, and scale.
AI-written summary of version 1.1.5, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to quickly add entrance, exit, or continuous resting animations to widgets without managing controllers or vsync.
- You need character-staggered animations for text widgets.
- You want to build animated sequences or sequence through items on tap or timer.
Skip it when
- You are building complex, highly custom physics-based or gesture-driven shared element transitions.
- Performance is extremely constrained and you are worried about heavy filter effects like blur on low-end devices.
Strengths
- Eliminates boilerplate associated with standard Flutter animation controllers and vsync.
- Offers many built-in resting and transition effects out of the box.
- Specialized TextAnimator handles character-level staggered text effects easily.
Weaknesses
- Heavy usage of certain effects like blur can be performance-intensive.
- Limited to the predefined animations and sequence patterns provided by the package unless custom builders are used.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
WidgetAnimator(
incomingEffect: WidgetTransitionEffects.incomingSlideInFromBottom(),
atRestEffect: WidgetRestingEffects.swing(),
child: Container(
width: 100,
height: 100,
color: Colors.blue,
),
)Alternatives
Packages that do the same job and could replace widget_and_text_animator.
- lottie
Render After Effects JSON animations natively in Flutter.
96Compare - flutter_easy_animations
Animate.css port for Flutter with 97 effects and original keyframes.
69Compare - hyper_effects
Composable animations, spring effects, and scroll transitions using modifier syntax.
79Compare - rive_native
Rive's native runtime and renderer for Flutter.
82Compare