marcglasberg / async_redux

Flutter Package: A Redux version tailored for Flutter, which is easy to learn, to use, to test, and has no boilerplate. Allows for both sync and async reducers.
Other
230 stars 41 forks source link

Add optional parameter to NavigateAction.pop() #91

Closed swch01 closed 3 years ago

swch01 commented 3 years ago

This is a small change that allows a value to be returned via NavigateAction.pop(). The use case for me is returning true/false from the dialog opened by a Dismissible widget. Using application state for this does not seem appropriate in my case, so it's nice to have this option. Also, thank you for sharing this library. It's fantastic.