mirror of
https://github.com/wgh136/flutter_qjs.git
synced 2025-09-27 13:27:24 +00:00
add option to change max stack size.
This commit is contained in:
@@ -16,7 +16,9 @@ This plugin is a simple js engine for flutter using the `quickjs` project with `
|
||||
Firstly, create a `FlutterQjs` object, then call `dispatch` to dispatch event loop:
|
||||
|
||||
```dart
|
||||
final engine = FlutterQjs()
|
||||
final engine = FlutterQjs(
|
||||
stackSize: 1024 * 1024, // change stack size here.
|
||||
);
|
||||
engine.dispatch();
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user