Flutter – When wrapping IconButton with a container it doesn't contain the entire icon, & I have to press on the container in particular so the onPressed works
In the following code and as shown in photo, the container wrapping the IconButton doesn't contain the icon, and for the dialog to be closed I have to click on the container (blue area) but when clicking the icon nothing…