Rethinking Dart interoperability with Android Learn how to generate Dart bindings to easily access Android platform APIs. Rethinking Dart interoperability with Android Learn how to generate Dart bindings to easily access Android platform APIs. /2023/data/im/2f02692d-9a41-49c0-8786-1a22b7155628.jpeg
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.
Java interopLearn more
Full sample codeLearn more
Demo codeLearn more
Join sessions, office hours, and demos at Google's in-person developer events.
Celebrate I/O technology with a local community-led event near you.