Flutter Navigation 2.0 in Real Life
summary
Claims that Navigator 2.0 is a declarative replacement that fixes web deep linking and complex multi‑page stacks, demonstrated by wiring a RouteInformationParser + RouterDelegate to a custom routing bloc that emits lists of MaterialPage objects and updates the browser URL. Implementation uses Bloc/Cubit for state, a routing bloc that keeps the pages list, and a nested navigator for a registration flow that proves reusable but too confined so it gets removed in the production charging app after testing with a 5–6 page prototype.
AI-written summary · about
chapters (26)
- 0:00Intro
- 1:18Flutter Navigation 20
- 4:22Architecture
- 11:37Upstate
- 13:07RouteInformationParser
- 17:05Pop Routes
- 18:30Tripop
- 18:56Route Path
- 19:16Application State
- 20:18Get Current Configuration
- 21:54Merge
- 23:09Charge Card
- 23:43Demo App
- 25:29Section Configuration
- 26:22Paths
- 27:10Router Location
- 28:02Page Configurations
- 29:15Route Information parser
- 30:44Restaurant Information parser
- 31:00Routing Block
- 32:41Page Configuration parser
- 34:19List of pages
- 35:28Router delegate
- 36:45Tripod method
- 37:19Neural route path
- 44:12Back button dispatcher
related talks
21mNavigation in Flutter - the not-so-obvious parts
49mNavigation Component, feedback from the trench
05mLightning talk from Eric Vlad Vicenti
50mAndroid Navigation at scale
41mSwiftUI Tutorial 2024: Master Navigation - NavigationStack, NavigationPath & NavigationDestination
22mMaximally Modular Apps with React Navigation
41mThe future of routing with the Navigation API
28mNavigation in a Multiplatform World
