Flutter plugins: Use the NDK
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.
Semantic portal