Closed yashas-hm closed 6 months ago
Idea is good. Approach is incorrect. You need to think more to figure out a better way. Refer to the answer written by the author of riverpod here - https://stackoverflow.com/questions/74466072/riverpod-ref-watchstatenotifierprovider-vs-ref-watchstatenotifierprovider-not
I created a new provider that stores the change state and updates whenever state of collectionProvider is changed.
Modify changeMade
-> hasUnsavedChanges
everywhere.
Thanks for the PR. LGTM 🚀
PR Description
Only shows save prompt when changes are made to the requests
Related Issues
Checklist
main
branch before making this PRflutter test
) and all tests are passingAdded/updated tests?