Will developing Flutter plugin with Kotlin make any difference with one written in Java?

Fukka

It's probably not a programming question and a bit too generic but I can't find any resource about the differences of writing plugin for flutter using Kotlin vs Java. From my research, almost every plugin in pub.dev that I found is written in Java. I don't say Java is bad but I personally prefer Kotlin over Java because of the syntax.

I'm planning to build native code to interact with native libs both on iOS and Android for my project since I couldn't find any plugin that satisfy the project requirements. I'd like to share it on pubdev when it's done (hopefully) so I have to think twice before writing it.

The question is, if I do so (developing Kotlin-based plugin), will it make any difference? Like maybe requires the user to add some extra configuration to their project? Or maybe any Flutter project that uses Java can't use my package? and.. will it do the same for iOS (using Swift over Objective-C)? The docs is telling us that we can switch both in between, but doesn't tell any side effects about it.

kuhnroyal

No there is nothing to worry about. Flutter apps are now by default created with Kotlin/Swift and not with Java/ObjC. Of course if someone has an ultra old Flutter configuration, then he might have some problems but I wouldn't concern myself with it.

All the native plugin code is converted to a Gradle dependency or Pod(spec) dependency. The app developer doesn't have to care about it and that is a good thing.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Will developing Flutter plugin with Kotlin make any difference with one written in Java?

From Dev

Developing application with plugin support in Java

From Dev

How to make Maven Javadoc Plugin work with any Java version

From Dev

Is there any ADA parser written in Java?

From Java

Difference between "*" and "Any" in Kotlin generics

From Dev

Unable to find source java class while developing plugin for cordova (Android)

From Dev

Php - Developing Wordpress Plugin

From Dev

When using Java/Kotlin for programming is recommended to use Tail recursion or the Iterative version? Is there any difference in performance?

From Dev

Compare two arrays one by one and make new array using function developing javascript

From Dev

Developing apps for Xbox One?

From Dev

Developing an Eclipse Content Assist plugin

From Dev

ANTLR and Xtext integration for developing plugin

From Dev

Developing an Eclipse Content Assist plugin

From Dev

ANTLR and Xtext integration for developing plugin

From Dev

Cassandra difference between ANY and ONE consistency levels

From Dev

What version of Java should I use for developing my MOJO Maven Plugin?

From Dev

How do I call a function written in a kotlin class , in java?

From Dev

Can any one make this jquery code small

From Dev

Is there any practical difference between using babel-runtime and the babel-polyfill when *not* developing a library? (e.g. web application)

From Dev

Developing tools of Java developers

From Dev

Kotlin: Generics, reflection and the difference between type T and T:Any

From Dev

Java / Kotlin equivalent of Swift [String : [String : Any]]

From Dev

is there any plugin to make kind of HuffPost image gallery for Drupal 7?

From Dev

Is there any difference between using GestureDetector and Button for accesibility in Flutter?

From Dev

Difference between Java and Kotlin generic methods

From Dev

Difference between Kotlin and Java String split with Regex

From Dev

Is there any difference between 'document.getElementById()' and 'document.getElementById',can Round brackets make any difference?

From Dev

Is there any difference between random in C and random in Java?

From Dev

Is there any difference between these two Java codes Snaps?

Related Related

  1. 1

    Will developing Flutter plugin with Kotlin make any difference with one written in Java?

  2. 2

    Developing application with plugin support in Java

  3. 3

    How to make Maven Javadoc Plugin work with any Java version

  4. 4

    Is there any ADA parser written in Java?

  5. 5

    Difference between "*" and "Any" in Kotlin generics

  6. 6

    Unable to find source java class while developing plugin for cordova (Android)

  7. 7

    Php - Developing Wordpress Plugin

  8. 8

    When using Java/Kotlin for programming is recommended to use Tail recursion or the Iterative version? Is there any difference in performance?

  9. 9

    Compare two arrays one by one and make new array using function developing javascript

  10. 10

    Developing apps for Xbox One?

  11. 11

    Developing an Eclipse Content Assist plugin

  12. 12

    ANTLR and Xtext integration for developing plugin

  13. 13

    Developing an Eclipse Content Assist plugin

  14. 14

    ANTLR and Xtext integration for developing plugin

  15. 15

    Cassandra difference between ANY and ONE consistency levels

  16. 16

    What version of Java should I use for developing my MOJO Maven Plugin?

  17. 17

    How do I call a function written in a kotlin class , in java?

  18. 18

    Can any one make this jquery code small

  19. 19

    Is there any practical difference between using babel-runtime and the babel-polyfill when *not* developing a library? (e.g. web application)

  20. 20

    Developing tools of Java developers

  21. 21

    Kotlin: Generics, reflection and the difference between type T and T:Any

  22. 22

    Java / Kotlin equivalent of Swift [String : [String : Any]]

  23. 23

    is there any plugin to make kind of HuffPost image gallery for Drupal 7?

  24. 24

    Is there any difference between using GestureDetector and Button for accesibility in Flutter?

  25. 25

    Difference between Java and Kotlin generic methods

  26. 26

    Difference between Kotlin and Java String split with Regex

  27. 27

    Is there any difference between 'document.getElementById()' and 'document.getElementById',can Round brackets make any difference?

  28. 28

    Is there any difference between random in C and random in Java?

  29. 29

    Is there any difference between these two Java codes Snaps?

HotTag

Archive