Flutter: Create a flutter project with Kotlin

Flutter allows to support of Kotlin language.



How can I integrate my kotlin file with Flutter project.

There is no option to add/create a Kotlin file (in New menu) in Android Studio.



I think the kotlin files can only be used in the platform-specific plugins. E.g. you have platform-specific implementation for both iOS and android and you can use kotlin for the Android part.
The Flutter SDK is used directly with Dart.



Open your Android module in android so you can add your kotlin files

Comments

Popular posts from this blog

Meaning of `{}` for return expression

Get current scroll position of ScrollView in React Native

flutter websocket connection issue