Answers for "row container tap one one container container fill send container blank in flutter"

1

flutter how to add ontap on container

You can wrap your Container in an InkWell or GestureDetector.
The difference is that InkWell is a material widget that shows
a visual indication that the touch was received,
whereas GestureDetector is a more general purpose widget that shows no visual
indicator.

GestureDetector(
    onTap: () { 
        print("Click event on Container"); 
    },
    child: Container(.......),
)
Posted by: Guest on August-05-2020

Code answers related to "row container tap one one container container fill send container blank in flutter"

Browse Popular Code Answers by Language