An effiecient flutter package for an on-tap bounce animation to the wrapped around widget. It targets on both the mobile platforms, i.e., iOS and Android.
Package selection guidance compiled from public package information, community data, and project usage.
flutter_bounce is a lightweight and efficient Flutter package that adds a smooth on-tap bounce animation to any wrapped widget. Designed for both iOS and Android, it enhances user interaction with subtle, responsive feedback. The package integrates seamlessly into existing UIs without performance overhead, making it ideal for buttons, cards, and other interactive elements. It supports multiple platforms including Web, macOS, Windows, and Linux, ensuring consistent behavior across devices.
Use cases
Adding tactile feedback to buttons
Enhancing card tap interactions
Improving app responsiveness
Creating engaging UI micro-interactions
Supporting cross-platform consistency
Key features
On-tap bounce animation
Lightweight and performant
Cross-platform support
Easy integration
Customizable animation intensity
Suitable for
Mobile app developers
UI/UX designers
Interactive prototype builders
Cross-platform app creators
Apps needing subtle touch feedback
Considerations
Limited to tap-based animations
No advanced animation customization
May conflict with other gesture detectors
Best suited for simple interactive elements
Not intended for complex animation sequences
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
flutter_bounce
An efficient flutter package for an on-tap bounce animation on any flutter widgets
Flutter bounce package will give you full freedom, to be used in on both the static and dynamic like scrolling pages.
Not sticky on scrolling, efficient bounce effect every where
With Duration, controll the bounce animation
It doesn't let the widget stay pressed when you scroll through, if we use the normal bounce effect with simply using the Flutter AnimationController and Tranform.scale() Widget.
Disclaimer
Widget flutter_widget is not the copy paste of bouncing_widget, it works differently. Without limitations, and the functionality works differently, based upon the duration, and not on the scaleFactor.
It doesn't have the scaleFactor at all, which is required in the widget
The code written in such a way that supports the flutter_bounce functionality. However, I have taken motivation from the limitations of the bouncing_widget
I would like to thank Levent Kantaroğlu for contributing in the recent null safety addition to the code, which will now help the community to use this package efficiently.
I would like to thank ThomasEcalle for the indirect motivation via his widget, to come up with an efficient work around, which will now be useful for our flutter community people