Dart code not working after compiled to JS

Issue

So.. there’s something weird happening to me.

My code in Dartium was working perfectly until I compiled it o JS. Now only the JS version of it works.. If I compile to JS then I run the program it works. But the Dart Code by itself no long works anymore 🙁

Does anyone had encountered a similar problem? IS it normal?

If necessary I can paste the entire program here.. but the problem is that Dart is not throwing me any errors and my compiled code works, so I don’t know where to look at 🙁

Thanks!

Solution

There were some (maybe) similar problems mentioned lately which were solved by updating to a new Dart version.
If it’s not that it’s even weirder.

Answered By – Günter Zöchbauer

Answer Checked By – Mary Flores (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *