flutter_js library
Classes
- FlutterJs
- FlutterJsPlatformEmpty
- IsolateFunction
- Dart function wrapper for isolate
- IsolateQjs
- JavascriptRuntime
- JSError
- JS Error wrapper
- JSEvalFlag
- JsEvalResult
- JSInvokable
- js invokable
- JSRef
- QuickJsRuntime
- QuickJsRuntime2
- Quickjs engine for flutter.
- QuickJsService
- QuickJsSyncServer
Extensions
Constants
- REGISTER_PROMISE_FUNCTION → const String
Properties
-
consoleLogBridgeFunction
↔ Pointer<
NativeFunction< ?ChannelCallback> > -
getter/setter pair
-
mapJsBridge
→ Map<
String, FnBridgeCallback> -
final
- messageHandlerRegistered ↔ bool
-
getter/setter pair
- qjsDynamicLibrary → DynamicLibrary
-
final
-
sendNativeBridgeFunction
↔ Pointer<
NativeFunction< ?ChannelCallback> > -
getter/setter pair
-
setTimeoutBridgeFunction
↔ Pointer<
NativeFunction< ?ChannelCallback> > -
getter/setter pair
Functions
-
bridgeCallbackGlobalHandler(
Pointer< JSContext> ctx, Pointer<Utf8NullTerminated> channelName, Pointer<Utf8NullTerminated> message) → Pointer<JSValueConst> ? -
getJavascriptRuntime(
{bool forceJavascriptCoreOnAndroid = false, bool xhr = true, Map< String, dynamic> ? extraArgs = const {}}) → JavascriptRuntime -
startQuickJsServer(
SendPort sendPort) → void
Typedefs
-
FlutterJsChannelCallbak
= Future<
String> Function(String? args) - FnBridgeCallback = dynamic Function(dynamic args)