~/talk

The World of Dart-Only Plugins

Talkat Flutter Connection 2024 · on Wednesday, 2024-04-24· [flutter]
links:none on file
slides:none on file

Claims that full Dart-only plugins work by generating FFI/JNI bindings and loading OS dynamic libraries at runtime, demonstrated by a federated plugin that implements clipboard copy/paste on Windows (using windows_32 bindings) and macOS (generated AppKit bindings via ffi_gen), and that the code runs on both platforms. Shows memory- and thread-safety tradeoffs: Windows requires manual memory locking for the clipboard, macOS APIs need main-thread calls, and App Store handling of runtime dylibs is unclear, so not yet drop-in production for all cases.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:49Traditional plugin limitations
  3. 2:33Flutter app structure overview
  4. 5:45Dart-only plugins concept
  5. 8:13Clipboard example setup
  6. 9:15Windows clipboard implementation
  7. 10:44macOS clipboard implementation
  8. 12:30Generating Objective-C bindings
  9. 13:35Drawbacks and limitations
  10. 15:42Android JNI bindings
  11. 16:14Q&A session begins
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.