Navigator 2.0 Shell Route The Easy Way
Google recommends the Go Router package to use the navigator 2.0 API in flutter. But, the docs is a bit obtuse. Let me show you the easy way to implement navigator 2.0 with Go Router.
The Shared Scaffold
First, we need a shared scaffold. This is one from my own website folio that I am implementing: