bouncy_widget 2.0.1 copy "bouncy_widget: ^2.0.1" to clipboard
bouncy_widget: ^2.0.1 copied to clipboard

A simple bouncing widget.

bouncy_widget is a simple animated bouncing widget. It encapsulates the animation configurations necessary to create a widget that rises, then falls, bounces, and then optionally waits, before starting all over.

Features #

  • Configure the ratio of up/down/pause phases
  • Configure how high the widget bounces
  • That's it. If you want more, you're better off building the animations yourself.

Usage #

Bouncy(
    duration: Duration(milliseconds: 2000),
    lift: 50,
    ratio: 0.5,
    pause: 0.5,
    child: const Icon(Icons.new_releases_outlined));
6
likes
110
pub points
77%
popularity

Publisher

unverified uploader

A simple bouncing widget.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on bouncy_widget