inject_js 2.0.0 copy "inject_js: ^2.0.0" to clipboard
inject_js: ^2.0.0 copied to clipboard

Import and use javascript libraries or code in your dart2js or flutter web projects

inject_js #

This package can be used on dart2js and flutter web to inject javascript libraries or code into the page. It is based on flutter_web_import_js_library, but stripped down to work without flutter and extended to inject javascript code directly.

On dart:vm platforms, the functions in this package throw UnsupportedErrors.

For an example without flutter see example, for an example with flutter see example_flutter.

1
likes
130
pub points
75%
popularity

Publisher

verified publishereric-prokop-und-nils-wieler.de

Import and use javascript libraries or code in your dart2js or flutter web projects

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

More

Packages that depend on inject_js