foundation library

Classes

AssetsBundle
AsyncBindingObjectMethod
BindingContext
BindingObject<T>
BindingObjectMethod
BindingObjectMethodSync
BindingObjectProperty
BindingOpItem
DataBundle
Dimension
DynamicBindingObject
EvaluateOpItem
FileBundle
The bundle that source from local io.
HttpCacheController
HttpCacheObject
HttpCacheObjectBlob
HttpClientCachedResponse
The HttpClientResponse that hits http cache.
HttpClientInterceptor
HttpClientStreamResponse
NetworkBundle
NetworkOpItem
OpItem
ProxyHttpClient
ProxyHttpClientRequest
QuickJSByteCodeCache
This is a bytecode cache class that caches bytecodes generated during JavaScript parsing. Use bytecode instead of JavaScript code string can result in a 58.1% reduction in loading time, particularly for larger JavaScript files (>= 1MB).
QuickJSByteCodeCacheObject
StaticBindingObject
UriParser
WebFBundle
WebFHttpOverrides
WebFProfiler

Constants

DEFAULT_URL → const String
HttpHeaderContext → const String
UTF_8 → const String

Properties

enableWebFProfileTracking bool
Collect performance details of core components in WebF.
getter/setter pair
htmlContentType ContentType
final
javascriptContentType ContentType
final
webfBc1ContentType ContentType
final

Functions

castToType<T>(dynamic value) → T
createHttpHeaders({Map<String, List<String>>? initialHeaders}) HttpHeaders
deleteFile(File file) Future<void>
getEntrypointUri(double? contextId) Uri
getOrigin(Uri uri) String
getPropertyNamesBindingCall(BindingObject bindingObject, List args, {BindingOpItem? profileOp}) → dynamic
getterBindingCall(BindingObject bindingObject, List args, {BindingOpItem? profileOp}) → dynamic
getWebFMethodChannel() MethodChannel
getWebFTemporaryPath() Future<String>
invokeBindingMethodAsync(BindingObject bindingObject, List args, {BindingOpItem? profileOp}) → dynamic
invokeBindingMethodFromNativeImpl(double contextId, int profileId, Pointer<NativeBindingObject> nativeBindingObject, Pointer<NativeValue> returnValue, Pointer<NativeValue> nativeMethod, int argc, Pointer<NativeValue> argv) → void
invokeBindingMethodSync(BindingObject bindingObject, List args, {BindingOpItem? profileOp}) → dynamic
isGzip(List<int> data) bool
isValidUTF8String(Uint8List data) bool
resolveStringFromData(List<int> data, {Codec codec = utf8, bool preferSync = false}) FutureOr<String>
setterBindingCall(BindingObject bindingObject, List args, {BindingOpItem? profileOp}) → dynamic
setupHttpOverrides(HttpClientInterceptor? httpClientInterceptor, {required double contextId}) WebFHttpOverrides
tryParseHttpDate(String input) DateTime?

Typedefs

AsyncBindingMethodCallback = Future Function(List args)
BindingMethodCallback = dynamic Function(List args)
BindingObjectOperation = void Function(WebFViewController? view, BindingObject bindingObject)
BindingPropertyGetter = dynamic Function()
BindingPropertySetter = void Function(dynamic value)