Skip to main content

flutter_js_runtime 0.9.1 copy "flutter_js_runtime: ^0.9.1" to clipboard
flutter_js_runtime: ^0.9.1 copied to clipboard

Run JavaScript in Flutter apps. Uses QuickJS on Android, Windows and Linux, and JavaScriptCore on iOS and macOS.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_js_runtime

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

dependencies:
  flutter_js_runtime: ^0.9.1

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

Import it

Now in your Dart code, you can use:

import 'package:flutter_js_runtime/flutter_js_runtime.dart';
1
likes
140
points
227
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Run JavaScript in Flutter apps. Uses QuickJS on Android, Windows and Linux, and JavaScriptCore on iOS and macOS.

Repository (GitHub)
View/report issues

Topics

#javascript #js-engine #quickjs #javascriptcore #ffi

License

MIT (license)

Dependencies

ffi, flutter, http, sync_http

More

Packages that depend on flutter_js_runtime

Packages that implement flutter_js_runtime