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:

--

--

Flutter Cross Platform Mobile App Design https://keybase.io/fredgrott

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store