~/talk

Navigation in Flutter - the not-so-obvious parts

Talkat Fluttercon Europe 2024 · 2024-07-03..07-05· [frontend-architecture]
links:none on file
slides:none on file

Walks through Navigator 1.0 imperative patterns that break on web — address bar not updating and broken back/forward — then shows migrating to Navigator 2.0 with go_router to get proper URLs and working browser buttons. Demonstrates child routes to restore the app bar back button, and using go_router_builder to generate type-safe generated routes so required path and query params cannot be forgotten. Mentions shell routes and auto_route as alternatives and shows the generated approach actually working end to end.

AI-written summary · about

  1. 0:00Flutter navigation basics
  2. 1:53Imperative navigation repetition
  3. 3:59Named navigation limits
  4. 5:47Route map and browser issues
  5. 7:33Declarative navigation Go Router
  6. 9:47Go Router naive problems
  7. 10:54Child routes back support
  8. 12:20Path and query parameters
  9. 14:57Type safety Go Router Builder
  10. 17:55Honorable mentions
  11. 19:20Choosing navigation approach
  12. 20:03Closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.