pinch_zoom
pinch_zoom copied to clipboard
Being able to dismiss if clicked on outside barriers
I can't achieve the effect where the user clicks outside the image and it dismisses the image. There should be an option to be able to achieve this.
Same, did you achieve it?
I had to create my own code for this to work. Basically wrapping the whole thing with a GestureDetector
with onTap
trigger to dismiss the view.