Flutter Engine
The Flutter Engine
|
dart:js_interop
should be preferred.dart:js
.dart:_js_annotations
. This makes it easier to avoid collisions with dart:js_interop
's @JS
, as you will now see a static error instead of it resolving in favor of the package definition. However, since this may result in breakages in previously working code, this is treated as a breaking change.example
link to discontinued example.@JSExport
annotation for exporting Dart classes and @staticInterop
mocking.package:meta
.@trustTypes
annotation.@staticInterop
to allow interop with native types from dart:html
.>=2.12.0 <3.0.0
.package:js
.