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.
- Host: GitHub
- URL: https://github.com/ivangalkindeveloper/js_import
- Owner: ivangalkindeveloper
- License: other
- Created: 2023-04-10T21:11:08.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-29T09:43:21.000Z (about 1 year ago)
- Last Synced: 2025-02-08T12:46:15.904Z (3 months ago)
- Topics: dart, dart-package, dartlang, flutter, flutter-js, flutter-web, import
- Language: Dart
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# JS Import
Importing JS sources into Flutter Web projects.

## 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.