I want to use the function LongPressDown which also gives LongPressDownDetails of GestureDetector but sadly, Gesture Detector comes without the ripple touch effect. So if I choose to use InkWell it doesn't have the LongPressDownDetails.
So my question is, how can I get the ripple effect of InkWell with the features of GestureDetector?
It's pretty straightforward, just add an
Inkwellover theGestureDetectorand you'll be good to go (no need to write anything in theonTap).