csells / go_router

The purpose of the go_router for Flutter is to use declarative routes to reduce complexity, regardless of the platform you're targeting (mobile, web, desktop), handling deep linking from Android, iOS and the web while still allowing an easy-to-use developer experience.
https://gorouter.dev
441 stars 96 forks source link

nav_observer example shows go_router diagnostics info in the debug console when it shouldn't #250

Closed csells closed 2 years ago

csells commented 2 years ago

The debugLogDiagnostics parameter to the GoRouter ctor is false, but the diagnostic logging info is still sent to the debug console.

johnpryan commented 2 years ago

My understanding is that the nav observer should print to the console regardless of debugLogDiagnostics, since it's just an example of a class that observes route changes and happens to use the Logger API to log them.