How do I build my own custom native integrations?

If there is platform-specific functionality that Flutter
or its community Plugins are missing,
you can build your own following the
developing packages and plugins page.

Flutter’s plugin architecture, in a nutshell, is much like using an Event bus in
Android: you fire off a message and let the receiver process and emit a result
back to you. In this case, the receiver is code running on the native side
on Android or iOS.

How do I use the NDK in my Flutter application?

If you use the NDK in your current Android application and want your Flutter
application to take advantage of your native libraries then it’s possible by
building a custom plugin.

Your custom plugin first talks to your Android app, where you call your
native functions over JNI. Once a response is ready,
send a message back to Flutter and render the result.

Calling native code directly from Flutter is currently not supported.

Themes