flutter_fjs 0.1.3
flutter_fjs: ^0.1.3 copied to clipboard
JS/TS runtime for Flutter. Embeds QuickJS-ng with direct JSI-style JS<->C++ calls, runs source or bytecode bundles, and renders HTML-like JS tags as Flutter widgets.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_fjsThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_fjs: ^0.1.3Alternatively, 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_fjs/flutter_fjs.dart';