pressable library
The press effect on its own, without BouncyButton or any Material code.
Classes
- BouncyAsyncBuilder
- Adds double-tap protection and loading, success, and error states to any button, including ones from Material, Cupertino, or your own design system.
- BouncyButtonController
-
Controls a
BouncyButtonorBouncyAsyncBuilderfrom code. - BouncyButtonFeedback
- How a button shows loading, success, and error.
- BouncyExclusiveScope
- Lets only one control below it be pressed at a time.
- BouncyPressable
- Adds a bouncy press effect to any widget.
- BouncyPressSpring
- Spring physics for the press animation.
Enums
- BouncyButtonStatus
- What an async button is showing.
- BouncyHapticFeedbackType
- Haptic feedback types.
Properties
- debugBouncyChecksEnabled ↔ bool
-
Whether bouncy_button prints warnings about common button mistakes in
debug builds.
getter/setter pair
Typedefs
- BouncyAsyncWidgetBuilder = Widget Function(BuildContext context, VoidCallback? onPressed, BouncyButtonStatus status)
- Builds a widget with the guarded callback and current status that BouncyAsyncBuilder provides.
- HapticFeedbackType = BouncyHapticFeedbackType
- The old name of BouncyHapticFeedbackType.