Reputation: 593
I am developing the flutter web app, if user refresh the browser page from browser button or from url, app starts from start. app shows splash and shows the login page. I want to handle the scenario like if user click on refresh the button it should refresh the state of current widget.
Upvotes: 0
Views: 1262
Reputation: 117
a work around suggest : you can store the current route with its state and the variables so when splash screen run check if there is a current rout to go in.
Upvotes: 1