flutter on click code example
Example: clickable container flutter
GestureDetector(
onTap: () {
print("Tapped a Container");
},
child: Container(...),
)
GestureDetector(
onTap: () {
print("Tapped a Container");
},
child: Container(...),
)