Open derolf opened 3 years ago
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)
Navigator.of(context).pop(Your_Result)
I am trying to return a value from showModalBottomSheet if the sheet gets dismissed.
How can I do that?