'Browser's "forward" button disabled after pressing "back" button in web app

I am coding on a website with flutter and I am stuck on how I can modify my Navigators pagestack so that a user can press the "forward" button in their browser after pressing the "back" button.

Currently, when pressing the "back" button just keeps the "forward" button disabled. I would like to enable it so a user can navigate better.

I have found nothing so far that lifts the fog a bit for me. Is there no solution at all?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source