~/talk

Unlocking Native Power: Deep Dive into Dart Build Hooks

Talkat Fluttercon Europe 2025 · 2025-09-24..09-26· [devops-and-delivery]
slides:none on file

Dart Build Hooks (preview now, planned stable in the next release 3.10) provide a JSON protocol to inject build logic via a package-local hook/build.dart that compiles native code, produces code assets (dynamic libraries) and writes an output JSON consumed by Dart/Flutter. Demo builds SQLite from a single C source using package native_toolchain_c’s C builder which invokes clang, produces a namespaced asset used by FFI-generated bindings, passes dart test, supports multi-arch caching in a shared output dir and is asset-type agnostic with extension APIs for custom asset types.

AI-written summary · about

  1. 0:00Introduction to build hooks
  2. 2:12How build hooks function
  3. 4:33Live demo: building SQLite
  4. 13:16Under the hood of build hooks
  5. 22:24Design philosophy and evolution
  6. 34:06Roadmap and community engagement
~/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.