Convert Java to dart

1,904 views
Skip to first unread message

John Melody Me

unread,
May 17, 2020, 5:39:37 PM5/17/20
to Flutter Development (flutter-dev)
is there a way convert java to dart and vice versa ?

Stefan Matthias Aust

unread,
May 17, 2020, 6:16:24 PM5/17/20
to John Melody Me, Flutter Development (flutter-dev)
On Sun, May 17, 2020 at 11:39 PM John Melody Me <johnme...@gmail.com> wrote:
is there a way convert java to dart and vice versa ?

I don't think so.

But seven years ago I wrote this: https://gist.github.com/sma/8180927 – I actually forgot about the project and rediscovered it only recently. It was a fun experiment to learn Dart (when Dart was promoted as the next browser language and Flutter wasn't yet invented) and I used it only once to port one Java command application to Dart – which I lost. So I'm pretty sure there will be errors when used with other source code.

Stefan

Souvik Dutta

unread,
May 17, 2020, 8:39:01 PM5/17/20
to John Melody Me, Flutter Development (flutter-dev)
There is something to convert dart code to js code. Link:-  https://dart.dev/tools/dart2js

Souvik flutter dev

On Mon, May 18, 2020, 3:09 AM John Melody Me <johnme...@gmail.com> wrote:
is there a way convert java to dart and vice versa ?

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/d1109b61-777c-489f-afcb-9b2520c8865f%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages