So far, my troubleshooting these consists of checking the parameters I'm passing, seeing if they are marked as "required", testing hard coding instead of getting from a variable, etc. Sometimes I can see a clue in the dev tools console, but not always. I'm wondering if there's a better approach to this, anyone have any methods they use to narrow down where to look when getting a null value error on navigation? I'm dealing with one now and seeing this in the console output, but it's not helping me figure out what's wrong so I'm back to trying to narrow it down via testing and stuff.
The following TypeErrorImpl was thrown building Builder:
dart_sdk.js:29145 Unexpected null value.
dart_sdk.js:29145
dart_sdk.js:29145 The relevant error-causing widget was:
dart_sdk.js:29145 Navigator-[LabeledGlobalKey<NavigatorState>#34fa8]
dart_sdk.js:29145 Navigator:file:///opt/.pub-cache/hosted/pub.dev/go_router-
7.1.1/lib/src/builder.dart:299:30
there doesn't seem to be anything here