Say I have a Flutter TODO app in with three routes:
Home, which shows all TODO item summaries;TODO details, which shows a TODO item details when the user taps on an item in theHomescreen.Edit TODO details, a popup route that partially covers the screen when the user taps "edit" on theTODO detailsscreen.
This means that at some point the Route stack could be:
- [
Edit TODO details] (Current) - [
TODO details] - [
Home]
How can I make it so that when the OS eventually paused the app, I can save this stack and then rebuild it when the app is resumed?