real world use cases in Flutter with GoRouter and GoRouterBuilder
summary
Walks through a working Flutter app wired to go_router and go_router_builder with build_runner generating typed route generation classes, demonstrates nesting with a shell route to give bottom tabs their own navigator, shows the practical difference between go vs push behavior, and sets up deep links using Firebase hosting plus Android assetlinks and iOS associated domains. Live coding hits build_runner and one-file limitations, migration pain with Flutter 3.22 pop changes, and generated routes prove usable though modular micropackage setups cause integration friction.
AI-written summary · about
chapters (13)
- 0:00Flutter navigation with GoRouter
- 2:09GoRouter replaces Navigator
- 6:43Push vs go navigation
- 8:52Routing guards for auth
- 9:33Typed route parameters
- 10:15GoRouterBuilder for type-safe nav
- 11:43Live coding GoRouter setup
- 19:30Shell routing for bottom nav
- 25:49Live coding shell routing
- 26:10Deep linking setup
- 32:34Live coding deep linking
- 39:07GoRouter challenges
- 40:10Summary
related talks
30mNested Navigation in flutter web
26mNested Navigation in flutter web
32mRolling in the deep(link) - take a deep dive into Flutter navigation
50mFlutter in Action: How to build cross-platform app with Dart
37mBuilding scalable, maintainable and robust apps in Flutter
33mBeyond Mobile: Building Flutter Apps for iOS, Android, Chrome OS, and Web
46mHow to Cook Flutter Properly
37mFlutter: In Real Life For Real People
