Java should be the default instead of Kotlin when flutter create

Proposal

  1. For most flutter apps, developers only need to write dart, so we don’t need to add Kotlin dependencies.
  2. Flutter app developer with no Android development experience, who don’t know which version of Kotlin to use.
  3. In fact, the Kotlin version of the flutter template hasn’t been maintained for about two years. This maintenance is difficult because the update timing of Flutter and Kotlin is different.

For that reason, I think adding Kotlin dependencies should be an opt-in option.


This situation is confusing to plugin maintainers.
For example, a maintainer trying to use a newer version of Kotlin (1.4.x) is causing a crash because the user remains at 1.3.50.


This will get worse once Kotlin 1.5.x is released.
I suggest that we need to take action as soon as possible.

Thanks.

1 possible answer(s) on “Java should be the default instead of Kotlin when flutter create

  1. I’ve extracted #78875 for what I believe to be the primary problem being described here, but without the assumption that abandoning Kotlin is the solution.