Is there a way to return something from the panel after closing it? Something similar to Navigator.of(context).pop(value).
My Use Case
I'm using the panel with the structure outlined below. So in MyPage I want to open up the panel to perform some action, which I might need to return a value after the action is completed and/or if the panel is closed.
I was hoping it could be something as straightforward as how Dialogs work: result = showDialog<T>(). Maybe there is already an obvious way that I'm not aware of.
Bug / Suggestion / Question
Is there a way to return something from the panel after closing it? Something similar to
Navigator.of(context).pop(value)
.My Use Case
I'm using the panel with the structure outlined below. So in MyPage I want to open up the panel to perform some action, which I might need to return a value after the action is completed and/or if the panel is closed. I was hoping it could be something as straightforward as how Dialogs work:
result = showDialog<T>()
. Maybe there is already an obvious way that I'm not aware of.My Code
Desired Behavior
Dependencies
Thank you!