With the latest preview release of Dart 1.13 – 1.13.0-dev.7, you can now play with this feature.
Creating the Dart interop libraries using
@Js() annotations allows
If you want to try it out
- Download the latest dev release of the Dart SDK - dartlang.org/downloads/archive
- The package is published at pub.dartlang.org/packages/js.
- Make sure you specify the right constraint in
We’ll have proper documentation on the site when 1.13 is ready for release. In the mean time, we’d love feedback as we prepare for the final release.