Rethinking Dart interoperability with Android

Advanced
+ 2 more

Overview

In the past, Flutter only supported integration with Android libraries through a message-based approach called platform channels. With a new command using JNI to bridge to Android system APIs, Flutter developers can easily access platform APIs without needing to use a platform channel or plugin. This session will dive deeper into how Dart automatically creates bindings for cross-language interoperation and demo how to call a Jetpack Library directly from Dart in a Flutter app.

Resources

Java interop
Learn more
Full sample code
Learn more
Demo code
Learn more
I/O Connect

Join sessions, office hours, and demos at Google's in-person developer events.

I/O Extended

Celebrate I/O technology with a local community-led event near you.