flutter go_router how to know the navigation type

18 Views Asked by At

We've got a scenario where we're trying to intercept the user's use of the back button in the browser, however, when using the onExit of the GoRoute it seems to trigger when push and go's also take place.

Is there a way of finding the navigation action that has taken place?

0

There are 0 best solutions below