modal_bottom_sheet icon indicating copy to clipboard operation
modal_bottom_sheet copied to clipboard

Allow to override `onClosing` for `ModalBottomSheet`

Open vasilich6107 opened this issue 3 years ago • 1 comments

Hi @jamesblasco Thanks for your work.

There is a case when I want to get true of false on closing the popup. If user clicks the button inside popup it is easy to achieve but when the popup is being closed by drag gesture there is no way to add custom return param to pop method

vasilich6107 avatar Apr 21 '22 16:04 vasilich6107

For anyone else who ever comes across this, just add a dispose() method on the view inside the widget.

jake-landersweb avatar Oct 15 '22 22:10 jake-landersweb