ripple_image_button 1.1.1 ripple_image_button: ^1.1.1 copied to clipboard
RippleImageButton has ripple effect on click. Image widget can not ripple effect on wrapped InkWell Widget. so I tried to Container Widget and could be have ripple effect on click
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ripple_image_button
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
ripple_image_button: ^1.1.1
Alternatively, 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:ripple_image_button/ripple_image_button.dart';