This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
Replies: 1 comment
-
The goal of Dotlin is not to make code shareable between Kotlin/JVM and Dart, but rather to bring the Kotlin language (and extra features) to the Dart runtime. However, depending on the data classes you could still do this, if they're simple enough. You could then compile those specific files with Dotlin and you'd have some code sharing. But you might run in some trouble with stdlib definitions, for example Hope that helps 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to share domain language definition between Kotlin backend and Flutter apps.
Can I use dotlin to write a very simple set of Kotlin data classes and use them in Dart as a shared library?
Beta Was this translation helpful? Give feedback.
All reactions