Skip to content
pubscout

bouncing_widget

2.0.0, released 6 years ago by an unverified publisher

A Flutter widget to add a bouncing scale animation to any child widget.

WASM-ready
$ flutter pub add bouncing_widget
Source repository

What it does

Encapsulates any widget with a BouncingWidget to provide a scaling bounce animation on click. It allows customization of the scale factor and animation duration.

AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to add tactile feedback animations to buttons or clickable elements.
  • You need a simple bounce effect when a user presses a widget.

Skip it when

  • You need complex physics-based multi-element animations.
  • You require state management or routing solutions.

Strengths

  • Easy to use by wrapping any widget
  • Customizable duration and scale factor

Weaknesses

  • Limited to a basic scale bounce effect

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
BouncingWidget(
  duration: Duration(milliseconds: 100),
  scaleFactor: 1.5,
  onPressed: () {
    print("onPressed");
  },
  child: Text(
    "Hello !",
  ),
)

Alternatives

Packages that do the same job and could replace bouncing_widget.