pressable 0.2.0 pressable: ^0.2.0 copied to clipboard
Add various touch effects to your widgets. Supports ripple, scale, opacity, fill, and custom builder.
Pressable #
Quickly add tap effects to your widgets.
Work in progress. Widgets may change at any time.
Pressable.opacity(
onPressed: () {
print('Opacity pressed');
},
child: const ExampleButton(title: 'Opacity'),
)
Supported effects:
- Ripple (InkWell)
- Scale
- Opacity
- Fill
- Custom builder