~/talk

Add-to-web: Reusing Flutter via multi-view embedding

Talkat Fluttercon Europe 2025 · 2025-09-24..09-26· [web-platform, flutter]
links:none on file
slides:none on file

Shows how to embed multiple independent Flutter web views into an existing site by replacing the generated bootstrap with a custom loader, enabling the multiview_enabled flag, and using runWidget instead of runApp so views can be added/removed at runtime and return identifiers. Demonstrates shared state by lifting it above the view collection, JS interop for host communication, and using deferred imports to cut main bundle from ~4 MB to ~2 MB. Notes hot reload on Chrome, event-propagation, host-element replacement and CanvasKit telemetry caveats.

AI-written summary · about

  1. 0:00Introduction to multi-view
  2. 2:42History of Flutter embedding
  3. 4:02Demo: The Belgium Bonanza
  4. 7:17Setting up single-view
  5. 10:52Implementing multi-view
  6. 16:14Sharing state and hosting
  7. 19:11Debugging and tooling
  8. 21:41Optimizing load times
  9. 23:31Closing tips and pitfalls
~/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.