~/talk

Flutter lessons for federated plugin development

Talkat Google I/O 2022 · 2022-05-11..05-12· [flutter]
github:reidbaker
slides:none on file

Lessons from building Stadia’s federated plugins include concrete patterns: use proto buffs to serialize every method-channel message and cogen Dart/Java stubs so unit tests can exercise both sides; replace copied literals with a single text proto that generates cross-language constants; separate platform branching into capabilities and policies (capabilities = runtime/compile checks, policies = RPC/Remote Config) so UI logic stays thin and testable; prefer Dart business logic with thin native implementations; expect to roll out features per-platform and handle missing functionality without crashing.

AI-written summary · about

  1. 0:00Start
  2. 0:53What a Federated Plugin Is
  3. 1:11Platform Interface
  4. 2:51Protobufs
  5. 8:24Solution Capabilities and Policies
  6. 11:19Preferred Input Type
  7. 12:03Dependency Injection
  8. 13:45Bite Size Tips
  9. 14:17Recap What We Covered Today
~/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.