flutter_bounce
1.1.0, released 5 years ago by an unverified publisher
An efficient on-tap bounce animation wrapper widget for static and scrolling pages.
What it does
Wraps any Flutter widget to provide an on-tap bounce animation effect. Works efficiently on both static pages and scrollable pages without sticking during scroll gestures.
AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want a bouncy tactile feedback when tapping buttons or cards
- You need tap bounce animations inside scrollable lists or grids without blocking scrolling
Skip it when
- You need fine-grained control via a scaleFactor property, which this package lacks
Strengths
- Works well inside scrollable pages without interfering with scroll gestures
- Customizable bounce duration
- Supports null-safety
Weaknesses
- Lacks a scaleFactor parameter for custom scale customization
- Mandatory requirement for child, duration, and onPressed parameters
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
not documented
Bounce(
duration: Duration(milliseconds: 110),
onPressed: () { YOUR_FUNCTION },
child: YOUR_WIDGET,
)Alternatives
Packages that do the same job and could replace flutter_bounce.
- flutter_bounceable
A simple, interactive and customizable on-tap bounce animation that can be wrapped on any widgets that you like.
52Compare - draggable_panel
A floating panel window that can be dragged, spring-snapped, parked off-edge, and tapped to grow.
76Compare - 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