Navigation when PC users press back button on browser or mouse

Widgets & Design

Hi, does anyone have any solution to navigating to the correct route when a PC user presses the back button on the browser or on their mouse (if they have buttons set up for it)?

In my FF app, I've got a page that has replace routing, and it works fine when a user uses the navigate back button or action provided by FF, but if they use methods as listed above it navigates to the page it shouldn't and kind of breaks my app.

Thanks!

What have you tried so far?

I've tried hand coding the routing, using push or go on the next page, as well as popping the page it shouldn't access with no luck.

Did you check FlutterFlow's Documentation for this topic?
Yes