pressable_flutter 0.0.3
pressable_flutter: ^0.0.3 copied to clipboard
Pressable package provides a customizable widget that adds various press effects to any child widget. It offers both ripple and scaling effects, giving you the ability to enhance the user interaction [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add pressable_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
pressable_flutter: ^0.0.3Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:pressable_flutter/pressable_flutter.dart';