Flutter – How to set router.pop() properly in GoRouter when using ShellRoute
In my project I am using go_router: ^12.1.3. I am having trouble with the back button while using router.pop()/context.pop(). My route is something like /community_tab_selected/0/profile_subroute_from_community. This redirects from the Community Screen to the Profile Screen in my app. When I…