In my application I have ShellRoute, which I use for BottomNavigation. If I use the system back button or gesture on the selected tab, I get a null safety error and I don't know how to get rid of it.
The error occurs in delegate.dart in class GoRouterDelegate. ↓
WillPopScope didn't work for me because the error was raised earlier.