~/talk

Understanding Navigator 2.0 in Flutter

Talkat droidcon APAC 2020 · 2020-12-14..12-15· [flutter]
slides:none on file

Navigator 2.0 introduces a declarative pages list (immutable, rebuild to change) and a Router-backed workflow that syncs URL and back-button events with app state, available on the stable channel now. Examples show using Pages API to insert a page beneath the current one, a custom transition delegate to choose enter/exit ordering, and a Router widget with RouteInformationParser + RouterDelegate to parse URLs and restore paths. Demo code and a hacky pop-result completer are provided; core features work but some ergonomics remain unfinished.

AI-written summary · about

  1. 0:00Introduction to speaker
  2. 0:49Why Navigator 2.0 matters
  3. 3:15Imperative navigation problems
  4. 5:49High-level Navigator 2.0 overview
  5. 7:35Use cases for new navigator
  6. 9:18Inserting pages in stack demo
  7. 11:27Navigator 2.0 key components
  8. 15:04Understanding Page objects
  9. 17:33Transition delegate explained
  10. 19:20Router widget deep dive
  11. 21:46Router components breakdown
  12. 25:00Using router in MaterialApp
  13. 27:09Live web demo walkthrough
  14. 27:50Pages API code example
  15. 31:26Pages API live demo
  16. 33:13Returning navigation results
  17. 33:55Router API code example
  18. 37:26Router delegate implementation
  19. 40:58Route information parser
  20. 41:19Q&A and closing remarks
~/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.