pressable library Null safety

Classes

DefaultPressableTheme
Define default values for Pressable theme for Widget subtree.
Pressable
Choose named constructors to pick press effect.
PressableBuilder
Use PressableBuilder to define your own pressable animation. Simplifies working with GestureDetector.
PressableFill
Fills child with selected color when pressed.
PressableFillTheme
PressableOpacity
Makes child semi-transparent when pressed.
PressableOpacityTheme
PressableRipple
Uses default InkWell animation.
PressableRippleTheme
PressableScale
Scales child down when pressed.
PressableScaleTheme
PressableTheme
Customize pressable animations.

Typedefs

PressableBuilderCallback = Widget Function(BuildContext context, bool isPressed)
Builds Widget inside PressableBuilder.