Flutter package for creating a widget that adds bounce animation to its child.
TODO: Example gifs
To use this plugin, add bounce_button
as a dependency in your pubspec.yaml from git like so:
bounce_button:
git:
url: https://github.com/willhlas/bounce_button.git
ref: main
Import the library
import 'package:bounce_button/bounce_button.dart';
onTap
, and child
is required in the widget.
BounceButton(
onTap: () {},
child: // Widget
)