modal_bottom_sheet
modal_bottom_sheet copied to clipboard
How to return value if dismissed
I am trying to return a value from showModalBottomSheet if the sheet gets dismissed.
How can I do that?
Since showModalBottomSheet pushes a new route, you can use Navigator.of(context).pop(Your_Result)