Skip to content

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

License

Notifications You must be signed in to change notification settings

EP-u-NW/inject_js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 80.7%
  • HTML 19.0%
  • JavaScript 0.3%