2024. 1. 14. 08:24
maybe you want have ripple effect include Image of Widgets.
but Flutter SDK widgets not applied ripple effect include Image Widgets.
almost Flutter Developer thinks wrapper InkWell Widget on Image?
do it that.
that is not ripple effect motion in touch InkWell Widget.
so I tried many Widgets wrapper on Image and think about many ways.
so I catched way. It is Image into Container Decoration and child Widget is InkWell.
If you use my package 'Ripple_Image_Button'.
you just do apply required parameters 'Image, onTap'.
I hope my package help to you.
thanks read my page.
good luck !
https://pub.dev/packages/ripple_image_button
ripple_image_button | Flutter Package
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
pub.dev