how to make a container a button flutter code example
Example: clickable container flutter
GestureDetector(
onTap: () {
print("Tapped a Container");
},
child: Container(...),
)
GestureDetector(
onTap: () {
print("Tapped a Container");
},
child: Container(...),
)