Sitemap

Member-only story

GoRouter Advanced Tutorial 2026: Bottom Nav, Nested Routes, Auth Redirects & Typed Navigation 🚀

3 min readFeb 8, 2026

--

Press enter or click to view image in full size

I remember being asked early in my career as a software engineer whether I could persist the bottom navigation so it would stay on the screen regardless of which page the user navigated to. My colleague and I explained that it’s not possible, given how we implemented the bottom navigation system; it simply wasn't feasible.

A few years later, I started using AutoRoute, and later moved to GoRouter on projects to streamline advanced navigation, nested routes for deep links, persistent bottom navigation, and much more.

That’s what inspired this tutorial on GoRouter.

GoRouter Features: Deep linking, ShellRoute for tabs, typed routes via builder.

{ If you’re not a Medium Subscriber, use this link to read for free. }

Let’s get started.

Add to pubspec:

dependencies:
go_router: ^17.1.0
flutter_riverpod: ^2.6.1

dev_dependencies:
build_runner: ^2.6.0
go_router_builder: ^4.0.1

Run dart run build_runner build for typed helpers.

--

--

Samuel Adekunle (techwithsam)
Samuel Adekunle (techwithsam)

Written by Samuel Adekunle (techwithsam)

Software Engineer (Mobile) | Building Scalable Mobile Solution | Tech Educator & Speaker