How to add a click event to any widget of Flutter.
TL;DR
Use GestureDetector widget
Sample code
GestureDetector(
onTap...
For further actions, you may consider blocking this person and/or reporting abuse
Have you tried using InkWell()?
On the onTap behaviour it's the same
But there is a huge gap as an InkWell will have a "hover" style, changing the background color and will have a click effect. If you don't want to have this, the GestureDetector is what you need.