Manage you project Routes. Create nested routes. Simply navigation without context to your pages. Change only one sub widget in your page when navigating to new route.
MIT License
87
stars
22
forks
source link
How to correctly restore navigation stack with temporary router? #150
Enable "Don't keep activities" option on Android device.
Open the app, from home page call showModalBottomSheet method.
Put the app to background, so that the system kills its process.
Return to the app, so that its state and route are restored.
Expected result: the app is opened on the home page, the current path is '/home'
Actual result: the app shows "Page not found', the current path is '/temp_router/bottom_sheet_example'
I have an issue with state restoration and temporarty router. Here are my routes:
I want to show bottom sheet over the home page with temporary router and call this method on HomePage:
The steps are the following:
Is there a way to have the expected result?