If you want to build a Flutter API for other Flutter projects to use, and / or through such API, you enable Flutter to communicate with platform-specific native code (e.g., JAVA or Kotlin for Android, and Objective-C or Swift for iOS).
Read moreHow do I change my Kotlin code to Java?
Steps to convert your Kotlin source file to Java source file:
Read moreCan Kotlin work with Flutter?
We may or may not know if Flutter is the next big thing in app development. Regardless of that, Kotlin today offers multiplatform support , which means one can run the code regardless of the underlying architecture.
Read moreCan we use Kotlin code in flutter?
For those who still don’t know, it is possible to use native codes coming from the Android operating system (using Java or Kotlin languages) or iOS (using Swift or Objective-C languages) and connect with your Flutter project.
Read moreCan I combine Flutter and Kotlin?
The answers is yes you can but in the end you need to write more code in your flutter project to communicate with Kotlin library, You can read this article below for more detail.
Read more