pinch_zoom icon indicating copy to clipboard operation
pinch_zoom copied to clipboard

Being able to dismiss if clicked on outside barriers

Open ZiyadF296 opened this issue 3 years ago • 2 comments

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.

ZiyadF296 avatar Jul 09 '21 19:07 ZiyadF296

Same, did you achieve it?

raulmabe avatar Jan 24 '22 18:01 raulmabe

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.

ZiyadF296 avatar Jan 24 '22 20:01 ZiyadF296