back

( Session )

Going Native in Dart: Direct Native Interop with JNIgen & FFIgen

#Intermediate·Session·1:50 pm - 2:30 pm·fluttercon
session

Ever needed a native feature in your Flutter app, only to realize you don't know Kotlin or Swift? You head to pub.dev hoping someone's already solved it but the package that's out there doesn't quite do what you need. The good news: you don't need to leave Dart to fix this. This talk explores direct native interop in Flutter using JNIgen and FFIgen - tools that let you call native Android and iOS APIs straight from Dart, skipping the boilerplate of method channels and hand-written native code entirely. Attendees will leave with a practical understanding of when to reach for JNIgen vs FFIgen, how the code generation actually works under the hood, and how to wire up a real native call end to end. Key takeaways: - Why method channels aren't always the right tool, and when native interop makes more sense - How JNIgen and FFIgen generate Dart bindings from native APIs - A live/walkthrough example of consuming a native Android or iOS API directly from Dart

Official feedback form