How To Make Any Widget Clickable In Flutter
First Solution: Using a GestureDetector Widget A widget that recognizes gestures. Attempts to recognize gestures that match non-zero callbacks. If this widget has children, they will be moved to that child for the behavior of that size. If you don’t have children, you will grow up to be a parent instead. By default, GestureDetectors with …