~/talk

Flutter Plugins - From Method Channels to Native Interop

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

Explains concrete migration paths from method channels to native interop with examples: a PDF viewer plugin and a Google Play binding generated with jnigen that runs in production for tens of thousands of users. Shows benchmarks: calling native via FFI 100,000 times takes about 4 ms vs much higher overhead for method channels. Covers tooling and caveats: use ffigen+generated bindings, SwiftGen is usable but experimental, watch main-thread blocking after the UI/platform thread merge, and how obfuscated native libs were integrated and debugged.

AI-written summary · about

  1. 0:00Flutter native interop intro
  2. 4:32Platform channels basics
  3. 12:21Method/event channels deep dive
  4. 16:13Threading and UI thread issues
  5. 18:18Native interop evolution
  6. 22:31Calling Swift from Dart
  7. 25:23JNI for Kotlin/Java
  8. 31:12SwiftGen for Swift bindings
  9. 34:23Future of native interop
~/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.