Skip to content
pubscout

bouncy_button

2.2.0, released 2 weeks ago by mirrorprep.com

A customizable 3D push button with spring animations, async loading states, and accessibility.

WASM-ready
$ flutter pub add bouncy_button
Source repository

What it does

Provides tactile 3D buttons that sink when tapped and spring back, along with BouncyPressable to add a bouncy press effect to any widget. It includes built-in handling for async loading states, double-tap prevention, and accessibility.

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

Use it when

  • You want physical-feeling 3D buttons that sink and spring back when pressed
  • You need buttons with built-in async loading, success, and error states
  • You want to prevent accidental double taps on critical actions like payments

Skip it when

  • You strictly require standard Material Design 3 or Cupertino button styles without custom 3D effects
  • You are building a game that requires a dedicated game engine physics setup

Strengths

  • Built-in protection against accidental double taps
  • Comprehensive accessibility support out of the box
  • Supports loading, success, and error states natively for async functions

Weaknesses

  • Tied specifically to button and press interactions rather than general animation use cases
  • Requires using the package's custom button or pressable components

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
import 'package:bouncy_button/bouncy_button.dart';

BouncyButton(
  onPressed: () => print('Pressed!'),
  child: const Text('Press me'),
)

Alternatives

Packages that do the same job and could replace bouncy_button.