js_import 1.0.2
js_import: ^1.0.2 copied to clipboard
Importing JS libraries and injection JS scripts into Flutter Web projects.
JS Import #
Importing JS sources into Flutter Web projects.
Getting Started #
Import:
JSImport.import(
sources: [
"asset/app.js",
"https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js",
],
);
Is imported:
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.