I'm developing a Flutter Web application, and I'm facing an issue with browser backward navigation. Here’s the scenario:
I navigate from the 1st page to the 2nd page.
Then, I navigate from the 2nd page to the 3rd page.
When I try to use the browser's back button to navigate backward from the 3rd page to the 2nd page, it works fine.
However, after reaching the 2nd page, the browser's back button becomes disabled, and I cannot navigate further backward to the 1st page.
I suspect this might be related to how Flutter Web handles navigation history or page routing.
The browser back button becomes disabled after navigating back to page 2.
How can I ensure that the browser back button works correctly for all backward navigation steps?
Any insights or suggestions would be greatly appreciated. Thank you!