~/talk

Voyager: Navigation and DI for Flutter

Talkat droidcon SF 2019 · 2019-11-18..11-19· [flutter, frontend-architecture]
links:none on file
slides:none on file

Voyager is a Flutter widget router that reads a YAML configuration map and turns paths into widgets via a custom plugin architecture, using dependency injection via provider for per-screen state and a Bloc plugin for lifecycle and disposal. It adds code generation for typed path constants, generated test scaffolds (pushing a sample app’s widget test coverage to over 70%), supports deep links, runtime A/B via remote config, runtime arguments and mapping arbitrary classes to widgets, and is published on pub.dev.

AI-written summary · about

  1. 0:00Introduction to Voyager
  2. 1:11Sample app requirements
  3. 2:13YAML navigation structure
  4. 3:17Router and config basics
  5. 4:22Creating a plugin
  6. 5:26Integrating plugins
  7. 6:09Using Voyager embed API
  8. 7:13Dependency injection with Provider
  9. 8:35Code generation setup
  10. 9:20Generating Dart constants
  11. 10:24Widget tests with codegen
  12. 12:31Schema validation for safety
  13. 13:53Type-safe Voyager provider
  14. 14:35Plugin code generation
  15. 15:21Reusable widget paths
  16. 16:24Remote config with buttons
  17. 17:07Navigation with arguments
  18. 18:09Mapping classes to widgets
  19. 19:42Dynamic list views
  20. 20:02State management with BLoC
  21. 22:53Summary and benefits
~/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.