pressable_flutter 1.0.1
pressable_flutter: ^1.0.1 copied to clipboard
Pressable package provides a customizable widget that adds various press effects to any child widget. It offers both ripple and shrink effects, giving you the ability to enhance the user interaction e [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pressable_flutterWith Flutter:
$ flutter pub add pressable_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
pressable_flutter: ^1.0.1Alternatively, your editor might support dart pub get or 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';