An open API service indexing awesome lists of open source software.

https://github.com/ivangalkindeveloper/js_import

Importing JS sources into Flutter Web projects.
https://github.com/ivangalkindeveloper/js_import

dart dart-package dartlang flutter flutter-js flutter-web import

Last synced: about 2 months ago
JSON representation

Importing JS sources into Flutter Web projects.

Awesome Lists containing this project

README

        

# JS Import
Importing JS sources into Flutter Web projects.

![Pub Likes](https://img.shields.io/pub/likes/js_import?color=success)
![Pub Version](https://img.shields.io/pub/v/js_import?color=important)
License: MIT


Buy Me A Coffee

## Getting Started
Import:
```dart
JSImport.import(
sources: [
"asset/app.js",
"https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js",
],
);
```

Is imported:
```dart
JSImport.isImported(source: "asset/app.js");
```

## Additional Information
For more details see example project.\
And feel free to open an issue if you find any bugs or errors or suggestions.