create a container as 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(...),
)