fjs_engine 0.0.2
fjs_engine: ^0.0.2 copied to clipboard
FuickJS 是一个基于 **QuickJS** 引擎实现的 Flutter 动态化渲染框架。它允许开发者使用 **React** 语法编写业务逻辑和 UI,并通过 Flutter 原生组件进行高性能渲染。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add fjs_engineThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
fjs_engine: ^0.0.2Alternatively, 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:fjs_engine/core/jscontext.dart';
import 'package:fjs_engine/core/jscontext_interface.dart';
import 'package:fjs_engine/core/jsobject.dart';
import 'package:fjs_engine/core/quickjs_ffi.dart';
import 'package:fjs_engine/core/runtime.dart';
import 'package:fjs_engine/fuickjs_core.dart';