Dart-JavaScript interoperability
suggest changeIntroduction
Dart-JavaScript interoperability lets us run JavaScript code from our Dart programs.
The interoperability is achieved by using the js library to create Dart stubs. These stubs describe the interface we’d like to have with the underlying JavaScript code. At runtime, calling the Dart stub invokes the JavaScript code. This is the older package:js interop, not dart:js_interop.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents