GestureDetector is a non-visual widget primarily used for detecting the user’s gesture . To identify a gesture targeted on a widget, the widget can be placed inside GestureDetector widget.
Read moreHow do you swipe in flutter?
Add dependency to your flutter project:
Read moreWhat is swiping right and left?
“Swipe right” means to like or accept someone, while “swipe left” means to reject them . The meaning of these two phrases is taken from one of Tinder’s core mechanics.
Read more