flutter clickable widget code example
Example 1: flutter make a container clickable
Card(
child: new InkWell(
onTap: () {
print("tapped");
},
child: Container(
width: 100.0,
height: 100.0,
),
),
),
Example 2: clickable card flutter
GestureDetector(
onTap: () => ......,
child: Card(...),
);