js_wrapping 0.2.0+1 copy "js_wrapping: ^0.2.0+1" to clipboard
js_wrapping: ^0.2.0+1 copied to clipboard

outdatedDart 1 only

With that package you will be able to easilly wrap JS library in Dart.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add js_wrapping

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  js_wrapping: ^0.2.0+1

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:js_wrapping/js_wrapping.dart';
6
likes
0
points
144k
downloads

Publisher

unverified uploader

Weekly Downloads

With that package you will be able to easilly wrap JS library in Dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

source_gen

More

Packages that depend on js_wrapping