Answers for "make any widget clickable flutter"

2

clickable container flutter

GestureDetector(
    onTap: () { 
        print("Tapped a Container"); 
    },
    child: Container(...),
)
Posted by: Guest on September-13-2020
1

flutter make a container clickable

Card(
  child: new InkWell(
    onTap: () {
      print("tapped");
    },
    child: Container(
      width: 100.0,
      height: 100.0,
    ),
  ),
),
Posted by: Guest on April-16-2020

Code answers related to "make any widget clickable flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language