Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (22 sloc) 806 Bytes
title short-title description toc
JavaScript interoperability
JS interop
Use package:js to integrate JavaScript code into your Dart web app.
false

The Dart web platform supports calling JavaScript using the js package, also known as package:js.

For help using the js package, see the following:

  • Documentation for the js package:
  • Packages that use the js package:
    • firebase_web is a good example of providing a Dart-like API to a JavaScript library.
    • sass is an example of a more unusual use case: providing a way for JavaScript code to call Dart code.
You can’t perform that action at this time.