~/talk

Writing a Flutter and Dart FFI plugin? Never fear, the Realm Team is here.

Talkat Fluttercon Europe 2023 · 2023-07-05..07-07· [web-platform]
links:none on file
slides:none on file

Realm Flutter uses a C++ core exposed via a C API and an FFI plugin that downloads prebuilt native libraries from a CDN at build time using a bundled dart run install command, avoiding pub.dev’s 100 MB package limit; bindings are generated with ffigen so developers don’t hand-write hundreds of signatures, build hooks plug into CMake/Gradle/Podspec to fetch platform DLLs/XCFrameworks, runtime loads platform-specific names and paths, and calling Dart from native uses Pointer.fromFunction or raw receive ports while the upcoming native assets feature standardizes download and loading.

AI-written summary · about

  1. 0:00Introduction to FFI plugins
  2. 2:12What is Realm database
  3. 4:37Understanding Dart FFI basics
  4. 6:22Using ffigen for bindings
  5. 7:45Creating FFI plugins in Flutter
  6. 8:27Distributing native binaries
  7. 10:33Downloading pre-built binaries
  8. 11:36Integrating with build systems
  9. 13:19Android build integration
  10. 14:03iOS and macOS build setup
  11. 15:07Dart standalone apps limitations
  12. 15:50Loading plugins at runtime
  13. 16:34Future of FFI with native assets
  14. 18:20Calling Dart from native code
  15. 20:48Closing and resources
~/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.