Skip to content

sshipman/bouncy_widget

Repository files navigation

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));

About

A simple bouncing Flutter widget

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages