bouncing_widget
2.0.0, released 6 years ago by an unverified publisher
A Flutter widget to add a bouncing scale animation to any child widget.
What it does
Encapsulates any widget with a BouncingWidget to provide a scaling bounce animation on click. It allows customization of the scale factor and animation duration.
AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to add tactile feedback animations to buttons or clickable elements.
- You need a simple bounce effect when a user presses a widget.
Skip it when
- You need complex physics-based multi-element animations.
- You require state management or routing solutions.
Strengths
- Easy to use by wrapping any widget
- Customizable duration and scale factor
Weaknesses
- Limited to a basic scale bounce effect
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
BouncingWidget(
duration: Duration(milliseconds: 100),
scaleFactor: 1.5,
onPressed: () {
print("onPressed");
},
child: Text(
"Hello !",
),
)Alternatives
Packages that do the same job and could replace bouncing_widget.
- animated_vector
Add vector-based animations with a data format inspired by composable widgets.
72Compare - page_animation_transition
Add customizable page transitions like slide, fade, scale, and rotate for Navigator and go_router.
71Compare - flutter_animate
Add animated effects and builders in Flutter via a unified, customizable chainable API.
70Compare - flutter_staggered_animations_plus
Lightweight staggered animations for ListView, GridView, Column and Row children.
65Compare