webf library

Classes

AbbreviationElement
AddEventListenerOptions
AddressElement
AnimationEvent
AppearEvent
ArticleElement
AsideElement
AssetsBundle
AsyncBindingObjectMethod
AsyncStorageModule
AutoManagedWebF
AutoManagedWebFState
BaseModule
BindingBridge
BindingClientRectData
BindingContext
BindingObject<T>
BindingObjectAsyncCallContext
BindingObjectMethod
BindingObjectMethodSync
BindingObjectProperty
BlockQuotationElement
BodyElement
BoundingClientRect
BRElement
BringElement
ButtonElement
CanvasElement
CanvasPainter
CharacterData
ChildNodeList
ChildrenChange
CitationElement
ClipBoardModule
CloseEvent
reference: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/CloseEvent
CodeElement
ColorSchemeChangeEvent
Comment
ContainerNode
ContentfulWidgetDetector
Utility class to detect if a widget or render object contains contentful painting that should trigger FCP (First Contentful Paint) and LCP (Largest Contentful Paint).
ConversionLayerAdapter
A conversion layer which translates Dio HTTP requests to http compatible requests. This way there's no need to implement custom HttpClientAdapter for each platform. Therefore, the required effort to add tests is kept to a minimum. Since CupertinoClient and CronetClient depend anyway on http this also doesn't add any additional dependency.
CookieManager
CustomEvent
reference: http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#interface-CustomEvent Attention: Detail now only can be a string.
DartContext
DataBundle
DataElement
DDElement
DebugFlags
DedicatedThread
Executes your JavaScript code in a dedicated thread.
DedicatedThreadGroup
Executes multiple JavaScript contexts in a single thread.
DefinitionElement
DelElement
Dimension
DisappearEvent
DivElement
DListElement
Document
DocumentFragment
DOMMatrix
DOMMatrixModule
DOMMatrixReadOnly
DTElement
DynamicBindingObject<T>
ElementAttributeProperty
EmphasisElement
Event
reference: https://developer.mozilla.org/zh-CN/docs/Web/API/Event
EventDispatchResult
EventListenerOptions
EventTarget
ExternalWebRenderLayoutWidgetElement
FetchModule
FigureCaptionElement
FigureElement
FileBundle
The bundle that source from local io.
FlexLayoutLog
Centralized helper for flex layout diagnostics.
FlutterForm
FlutterFormField
FlutterFormFieldState
FlutterFormState
FlutterInputElement
FlutterInputElementState
FlutterShimerAvatarElementState
FlutterShimerElementState
FlutterShimmerAvatarElement
FlutterShimmerButtonElement
FlutterShimmerButtonElementState
FlutterShimmerElement
FlutterShimmerTextElement
FlutterShimmerTextElementState
FlutterTextAreaElement
FlutterTextAreaElementState
FlutterUIThread
Executes your JavaScript code within the Flutter UI thread.
FocusEvent
FooterElement
FormData
A class to create readable "multipart/form-data" streams. It can be used to submit forms and file uploads to http server.
FormDataBindings
GestureEvent
reference: https://developer.mozilla.org/en-US/docs/Web/API/GestureEvent
GumboNamespaceEnum
GumboNodeType
GumboOutput
GumboTag
H1Element
H2Element
H3Element
H4Element
H5Element
H6Element
HashChangeEvent
HeadElement
HeaderElement
HistoryItem
HistoryModule
HRElement
HTMLAnchorElement
HTMLCollection
HTMLCollectionIterator
HTMLElement
HttpCacheController
HttpCacheObject
HttpCacheObjectBlob
HttpClientCachedResponse
The HttpClientResponse that hits http cache.
HttpClientStreamResponse
HttpLoggerOptions
Options to configure HTTP logging via PrettyDioLogger for a WebFController.
HybridHistoryDelegate
HybridHistoryItem
HybridHistoryModule
HybridRoutePageContext
HybridRouterChangeEvent
IdiomaticElement
ImageElement
ImageRequest
ImageState
InputEvent
InsElement
IntersectionChangeEvent
KeyboardElement
KeyboardEvent
reference: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent
LabelElement
LIElement
LifecycleCallbacks
Lifecycle that triggered when node tree changes. Ref: https://html.spec.whatwg.org/multipage/custom-elements.html#concept-custom-element-definition-lifecycle-callbacks
LinkElement
LoadingErrorEvent
Event data for loading errors
LoadingPhaseEvent
Represents a phase event with additional timing information
LoadingState
Tracks and records the loading state across the WebFController lifecycle
LoadingStateDump
Represents the complete loading state dump with both text and JSON representations
LoadingStateDumpOptions
Options for controlling what to display in the loading state dump
LoadingStateRegistry
A global registry to access LoadingStateDumper instances by contextId. This allows network requests and other low-level components to report loading state without direct access to the controller.
LocationModule
MainElement
MarkElement
MediaError
MediaErrorCode
MessageEvent
reference: https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent
MetaElement
MethodChannelModule
ModuleManager
MouseEvent
reference: https://developer.mozilla.org/zh-CN/docs/Web/API/MouseEvent
NativeBindingObject
NativeByteData
NativeByteData is a Dart representation of the C++ NativeByteData class. It wraps a Uint8List (byte array) for efficient binary data transfer between Dart and C++.
NativeByteDataStruct
NativeGumboAttribute
NativeGumboDocument
NativeGumboElement
NativeGumboNode
NativeGumboNodeUnionValue
NativeGumboOutput
NativeGumboSourcePosition
NativeGumboStringPiece
NativeGumboText
NativeGumboVector
NativePerformanceEntry
NativePerformanceEntryList
NativeString
NativeTouch
NativeTouchList
NativeValue
NativeWebFInfo
NativeWork
NestedScrollCoordinator
A widget that coordinates nested scrolling between a child scrollable and its parent scrollable.
NestedScrollForwarder
A widget that provides scroll controllers to descendant widgets to enable nested scroll forwarding.
NetworkBundle
Node
NodeList<T extends Node>
NoScriptElement
OffScreenEvent
OListElement
OnScreenEvent
ParagraphElement
PausablePeriodicTimer
A Timer that can be paused, resumed.
PopStateEvent
PortalElement
PortalElementState
PositionedLayoutLog
Centralized helper for positioned layout diagnostics.
PositionPlaceHolder
PreElement
ProxyHttpClient
ProxyHttpClientRequest
PseudoElement
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
QuoteElement
RawEvent
RenderCanvasPaint
RenderObjectNode
RenderObjectNode provide the renderObject related abstract life cycle for Node or Elements, which wrap RenderObjects, which provide the actual rendering of the application.
RenderWidgetElement
ResizeEvent
RoutePerformanceMetrics
Tracks performance metrics for a specific route page
RouterLinkElement
RouterLinkElementState
SampleElement
Screen
ScreenData
ScreenEvent
ScriptByteCode
ScriptElement
ScriptRunner
SectionElement
SelfOwnedWebRenderLayoutWidgetElement
Shimmer
ShimmerLoading
ShimmerState
SmallElement
SpanElement
StaticBindingObject
StaticDefinedAsyncBindingObjectMethod
StaticDefinedBindingProperty
StaticDefinedSyncBindingObjectMethod
StrikethroughElement
StrongElement
StyleElement
StyleNodeManager
SubscriptElement
SuperscriptElement
TeletypeElement
TemplateElement
TextNode
TextNodeAdapter
TextNodeAdapterElement
TimeElement
TitleElement
Touch
reference: https://w3c.github.io/touch-events/#dom-touch
TouchEvent
reference: https://w3c.github.io/touch-events/#touchevent-interface
TouchList
reference: https://w3c.github.io/touch-events/#touchlist-interface
TransitionEvent
https://drafts.csswg.org/css-transitions/#transitionevent
UICommand
UICommandBufferPack
UICommandItem
UICommandItemFFI
UIEvent
UListElement
UnarticulatedElement
UriParser
ValidationRule
VariableElement
WebF
The entry-point widget class responsible for rendering all content created by HTML, CSS, and JavaScript in WebF.
WebFBaseModule
WebFBundle
WebFCanvas
WebFCanvasPaint
WebFCanvasState
WebFChildNodeSize
A simple widget to compute the total height of the childNodes of a given HTMLElement in a flow layout. This is useful for building a WidgetElement whose height depends on the HTML/CSS layout height. Note: The margin space between the childNodes is ignored because the parentData does not belong to WebF's RenderObjectModel.
WebFContext
WebFContextInheritElement
WebFController
WebFControllerManager
A manager class that holds multiple WebFController instances.
WebFControllerManagerConfig
Configuration options for the WebFControllerManager.
WebFDioCacheCookieInterceptor
WebFDynamicLibrary
WebFElementWidget
WebFElementWidgetState
WebFEnsureVisible
WebFEventListener
Portal is essential to capture WebF gestures on WebF elements when the renderObject is located outside of WebF's root renderObject tree. Exp: using showModalBottomSheet or showDialog, it will create a standalone Widget Tree alone side with the original Widget Tree. Use this widget to make the gesture dispatcher works.
WebFHTMLElement
WebFHttpOverrides
WebFImage
WebFInfo
WebFJavaScriptChannel
WebFListViewElement
A custom element that renders a Flutter ListView in WebF
WebFListViewState
State class for the FlutterListViewElement
WebFLogger
Global logger configuration for WebF
WebFMethodChannel
WebFModuleController
WebFNavigationAction
WebFNavigationDelegate
WebFNetworkOptions
Network-related options for a WebFController.
WebFRenderLayoutWidgetAdaptor
WebFRenderReplacedRenderObjectElement
WebFRenderReplacedRenderObjectWidget
WebFRenderWidgetAdaptor
WebFReplacedElementWidget
WebFReplacedElementWidgetState
WebFRootViewport
WebFRouterView
WebFRouterViewport
WebFRouterViewState
WebFState
The state for WebF when using a direct controller reference
WebFStateElement
WebFSubView
WebFSubViewState
WebFTable
WebFTableState
WebFThread
WebFTouchAreaElement
WebFViewController
WebFWidgetElement
WebFWidgetElementAdapterElement
WebFWidgetElementAdapterState
WebFWidgetElementState
WebRenderLayoutRenderObjectElement
WidgetElement
WidgetElementAdapter
WidgetElementShape
WidgetLog
Centralized helper for grouped RenderWidget logs with per-feature/impl filters.
Window

Enums

AppearEventType
BindingMethodCallOperations
BoxSizeType
ByteCodeCacheMode
ChildrenChangeAffectsElements
ChildrenChangeSource
ChildrenChangeType
ControllerLoadState
Represents the loading state of a controller during initialization.
ControllerState
Represents the possible states of a controller within the manager.
CreateBindingObjectType
DocumentPosition
DocumentReadyState
FlexFeature
Feature buckets for flex layout logging.
FlexImpl
Implementation buckets for flex layout logging. Keep coarse to avoid excessive categories while providing context.
FormLayout
HttpCacheMode
InputSize
JSPointerType
JSValueType
LoadingErrorType
Types of resources that can fail to load
NodeType
PositionedFeature
Feature buckets for positioned layout logging.
PositionedImpl
Implementation buckets for positioned layout logging. Keep coarse to avoid excessive categories while providing context.
PreloadingStatus
PreRenderingStatus
PseudoKind
RenderObjectManagerType
ScreenEventType
ScriptReadyState
StickyPositionType
TouchType
UICommandType
ValidatorType
VisibilityState
WebFLoadingMode
WebFNavigationActionPolicy
WebFNavigationType
WidgetFeature
Feature buckets for grouping RenderWidget diagnostics.
WidgetImpl
Implementation categories for WidgetElement/RenderWidget logs.

Constants

ABBR → const String
ADDRESS → const String
ANCHOR → const String
ARTICLE → const String
ASIDE → const String
B → const String
BLOCKQUOTE → const String
BODY → const String
BR → const String
BUTTON → const String
CANVAS → const String
CITE → const String
CODE → const String
CONTROLLER_NOT_INITIALIZED → const String
DATA → const String
DD → const String
DEFAULT_METHOD_CALL_TIMEOUT → const Duration
DEFAULT_URL → const String
DEL → const String
DFN → const String
DIV → const String
DL → const String
DNS_PREFETCH → const String
DT → const String
elementDefaultHeight → const String
elementDefaultWidth → const String
Defined by W3C Standard, Most element's default width is 300 in pixel, height is 150 in pixel.
EM → const String
EVENT_ANIMATION_CANCEL → const String
EVENT_ANIMATION_END → const String
EVENT_ANIMATION_ITERATION → const String
EVENT_ANIMATION_START → const String
EVENT_APPEAR → const String
EVENT_BLUR → const String
EVENT_CAN_PLAY → const String
EVENT_CAN_PLAY_THROUGH → const String
EVENT_CANCEL → const String
EVENT_CHANGE → const String
EVENT_CLICK → const String
EVENT_CLOSE → const String
EVENT_COLOR_SCHEME_CHANGE → const String
EVENT_DISAPPEAR → const String
EVENT_DOM_CONTENT_LOADED → const String
EVENT_DOUBLE_CLICK → const String
EVENT_DRAG → const String
EVENT_ENDED → const String
EVENT_ERROR → const String
EVENT_FINISH → const String
EVENT_FOCUS → const String
EVENT_HASH_CHANGE → const String
EVENT_HYBRID_ROUTER_CHANGE → const String
EVENT_INPUT → const String
EVENT_INTERSECTION_CHANGE → const String
EVENT_KEY_DOWN → const String
EVENT_KEY_PRESS → const String
EVENT_KEY_UP → const String
EVENT_LOAD → const String
EVENT_LONG_PRESS → const String
EVENT_MEDIA_ERROR → const String
EVENT_MESSAGE → const String
EVENT_OFF_SCREEN → const String
EVENT_ON_SCREEN → const String
EVENT_OPEN → const String
EVENT_PAN → const String
EVENT_PAUSE → const String
EVENT_PLAY → const String
EVENT_POP_STATE → const String
EVENT_PRELOADED → const String
EVENT_PRERENDERED → const String
EVENT_READY_STATE_CHANGE → const String
EVENT_RESIZE → const String
EVENT_SCALE → const String
EVENT_SCROLL → const String
EVENT_SEEKED → const String
EVENT_SEEKING → const String
EVENT_STATE_CANCEL → const String
EVENT_STATE_END → const String
EVENT_STATE_START → const String
EVENT_STATE_UPDATE → const String
EVENT_SWIPE → const String
EVENT_TOUCH_CANCEL → const String
EVENT_TOUCH_END → const String
EVENT_TOUCH_MOVE → const String
EVENT_TOUCH_START → const String
EVENT_TRANSITION_CANCEL → const String
EVENT_TRANSITION_END → const String
EVENT_TRANSITION_RUN → const String
EVENT_TRANSITION_START → const String
EVENT_UNLOAD → const String
EVENT_VOLUME_CHANGE → const String
FIGCAPTION → const String
FIGURE → const String
FLUTTER_FORM → const String
FLUTTER_FORM_FIELD → const String
H1 → const String
H2 → const String
H3 → const String
H4 → const String
H5 → const String
H6 → const String
HR → const String
HTML → const String
HttpHeaderContext → const String
I → const String
IMAGE → const String
INPUT → const String
INS → const String
KBD → const String
LABEL → const String
LAZY → const String
LI → const String
listView → const String
Tag name for the ListView element in HTML
LOADING → const String
MAIN → const String
MARK → const String
META → const String
METHOD_CALL_TIMEOUT → const String
METHOD_CHANNEL_NAME → const String
METHOD_CHANNEL_NOT_INITIALIZED → const String
NATURAL_HEIGHT → const String
NATURAL_WIDTH → const String
NOSCRIPT → const String
OL → const String
PARAGRAPH → const String
PORTAL → const String
PRE → const String
Q → const String
REL_PRELOAD → const String
REL_STYLESHEET → const String
S → const String
SAMP → const String
SCALE → const String
SCALING → const String
SCRIPT → const String
SECTION → const String
SHIMMER → const String
SHIMMER_AVATAR → const String
SHIMMER_BUTTON → const String
SHIMMER_TEXT → const String
SMALL → const String
SPAN → const String
STRONG → const String
STYLE → const String
SUB → const String
SUP → const String
TEMPLATE → const String
TEXTAREA → const String
TIME → const String
TITLE → const String
TOUCH_AREA → const String
TT → const String
U → const String
UL → const String
unknown → const String
UTF_8 → const String
VAR → const String
WEBF_TABLE → const String
webfListView → const String
Tag name for the WebF-specific ListView element in HTML
webfListView2 → const String

Properties

bindingCallMethodDispatchTable List<BindingCallFunc>
getter/setter pair
bridgeLogger → Logger
final
canvasLogger → Logger
final
classNameSplitRegExp RegExp
final
cssLogger → Logger
final
dartContext DartContext?
getter/setter pair
debugLogDomAdapterEnabled bool
getter/setter pair
devToolsLogger → Logger
final
devToolsProtocolLogger → Logger
final
domLogger → Logger
final
EMPTY_STRING String
getter/setter pair
enableWebFCommandLog bool
getter/setter pair
htmlContentType ContentType
final
htmlElementUri String
final
interactiveCppRequests RawReceivePort
final
javascriptContentType ContentType
final
MAGIC_RESULT_FOR_ASYNC int
final
mathmlElementUri String
final
nativePort int
final
renderingLogger → Logger
final
svgElementUri String
final
useWebFHttpCache bool
getter/setter pair
webfBc1ContentType ContentType
final

Functions

allocateNewBindingObject() Pointer<NativeBindingObject>
allocateNewPage(bool sync, double newContextId, int syncBufferSize, {bool useLegacyUICommand = false, bool enableBlink = false}) Future<void>
asyncInvokeBindingMethodFromNativeImpl(WebFViewController view, Pointer<BindingObjectAsyncCallContext> asyncCallContext, Pointer<NativeBindingObject> nativeBindingObject) Future<void>
attributeToProperty<T>(String value) → T
castToType<T>(dynamic value) → T
clearUICommand(double contextId) → void
collectChildrenAndRemoveFromOldParent(Node node, List<Node> nodes) bool
createElement(String name, [BindingContext? context]) Element
createElementNS(String uri, String name, [BindingContext? context]) Element
createHttpHeaders({Map<String, List<String>>? initialHeaders}) HttpHeaders
createScreen(double width, double height) Pointer<Void>
createSvgElement(String name, [BindingContext? context]) Element
createWebFHttpClient() HttpClient
Creates a WebF-aware HttpClient without modifying global HttpOverrides. The returned client wraps a native HttpClient with ProxyHttpClient and applies consistent connection settings.
createWidgetElementShape(Map<String, ElementCreator> creators) Pointer<WidgetElementShape>
debugOverridePDefaultStyle(Map<String, dynamic> newStyle) → void
debugPrintGumboNodeTree(Pointer<NativeGumboNode> nodePtr, [int indent = 0]) → void
defaultDecisionHandler(WebFNavigationAction action) Future<WebFNavigationActionPolicy>
defineBuiltInElements() → void
defineElement(String name, ElementCreator creator) → void
defineElementNS(String uri, String name, ElementCreator creator) → dynamic
defineOverrideWidgetElement(String name, ElementCreator creator) → void
defineWidgetElement(String name, ElementCreator creator) → void
deleteFile(File file) Future<void>
disposePage(bool isSync, double contextId) FutureOr<void>
disposeSharedDioForContext(double contextId) → void
Dispose the shared Dio for a specific WebF context when controller is torn down.
doubleToInt64(double value) int
doubleToUint64(double value) int
dumpQuickjsByteCode(double contextId, Uint8List code, {String? url, bool isModule = false}) Future<Uint8List>
emitModuleEvent(double contextId, String moduleName, Event? event, dynamic extra) → dynamic
evaluateModule(double contextId, Uint8List codeBytes, {String? url, String? cacheKey, bool loadedFromCache = false, int line = 0, ScriptElement? scriptElement}) Future<bool>
evaluateQuickjsByteCode(double contextId, Uint8List bytes, {ScriptElement? scriptElement}) Future<bool>
evaluateScripts(double contextId, Uint8List codeBytes, {String? url, String? cacheKey, bool loadedFromCache = false, int line = 0, ScriptElement? scriptElement}) Future<bool>
execUICommands(WebFViewController view, List<UICommand> commands) → void
flushUICommand(WebFViewController view, Pointer<NativeBindingObject> selfPointer) → void
flushUICommandWithContextId(double contextId, Pointer<NativeBindingObject> selfPointer) → void
freeNativeString(Pointer<NativeString> pointer) → void
freeSVGResult(GumboOutput gumboOutput) → void
fromNativeValue(WebFViewController view, Pointer<NativeValue> nativeValue) → dynamic
getAllocatedPage(double contextId) Pointer<Void>?
getAllWidgetElements() Map<String, ElementCreator>
getChildNodes(ContainerNode node, List<Node> nodes) → void
getEntrypointUri(double? contextId) Uri
getNodeTypeValue(NodeType nodeType) int
https://dom.spec.whatwg.org/#dom-node-nodetype
getOrCreateWebFDio({required double contextId, required Uri uri, WebFBundle? ownerBundle, Duration connectTimeout = const Duration(seconds: 30), Duration receiveTimeout = const Duration(seconds: 60), Duration sendTimeout = const Duration(seconds: 60), bool followRedirects = true, int maxRedirects = 5, int maxConnectionsPerHost = 15, String? userAgent, bool validateStatus(int? statusCode)?}) Future<Dio>
Get a WebF-configured Dio. Returns a shared instance per contextId. When contextId is null, creates a new ephemeral instance.
getOrigin(Uri uri) String
getPointerTypeOfBindingObject(BindingObject bindingObject) JSPointerType
getterBindingCall(BindingObject bindingObject, List args) → dynamic
getUICommandItems(Pointer<Void> page) Pointer<UICommandBufferPack>
getUICommandSize(double contextId) int
getWebFInfo() WebFInfo
getWebFMethodChannel() MethodChannel
getWebFTemporaryPath() Future<String>
handleEvaluateQuickjsByteCodeResult(Object handle, int result) → void
handleEvaluateScriptsResult(Object handle, int result) → void
initBridge(WebFViewController view, WebFThread runningThread, bool enableBlink) FutureOr<double>
Init bridge
initDartDynamicLinking() → void
initDartIsolateContext(List<int> dartMethods) Pointer<Void>
invokeBindingMethodFromNativeSync(double contextId, Pointer<NativeBindingObject> nativeBindingObject, Pointer<NativeValue> returnValue, Pointer<NativeValue> nativeMethod, int argc, Pointer<NativeValue> argv) → void
invokeModule(Pointer<Void> callbackContext, WebFController controller, String moduleName, String method, dynamic params, Pointer<Uint8> errmsg, Pointer<NativeFunction<NativeAsyncModuleCallback>> callback) → dynamic
invokeModuleEvent(double contextId, String moduleName, Event? event, dynamic extra) → dynamic
isBindingObjectDisposed(Pointer<NativeBindingObject>? nativeBindingObject) bool
isContextDedicatedThread(double contextId) bool
isGzip(List<int> data) bool
isJSRunningInDedicatedThread(double contextId) bool
isJSThreadBlocked(double contextId) bool
isPageAlive(double contextId) bool
isValidUTF8String(Uint8List data) bool
makeDartMethodsData() List<int>
makeNativeValueArguments(BindingObject ownerBindingObject, List args) Pointer<NativeValue>
nativeStringToString(Pointer<NativeString> pointer) String
nativeUICommandToDartFFI(double contextId) List<UICommand>
newPageId() int
parseHTML(double contextId, Uint8List codeBytes) Future<void>
parseSVGResult(String code) GumboOutput
registerPluginByteCode(Uint8List bytecode, String name) → void
registerWebFDioInterceptorInstaller(double contextId, void installer(Dio)) → void
Register a context-aware installer to be invoked for the Dio instance associated with the given context. If the Dio already exists, the installer is applied immediately; otherwise it will be applied on first creation.
removeHttpOverrides({required double contextId}) → void
requestExecuteCallback(dynamic message) → void
resolveStringFromData(List<int> data, {Codec codec = utf8, bool preferSync = false}) FutureOr<String>
scheduleDelayForFrameCallback() → void
setterBindingCall(BindingObject bindingObject, List args) → dynamic
setupHttpOverrides({required double contextId}) WebFHttpOverrides
stringToNativeString(String string) Pointer<NativeString>
toNativeValue(Pointer<NativeValue> target, dynamic value, [BindingObject? ownerBindingObject]) → void
tryParseHttpDate(String input) DateTime?
uint16ToString(Pointer<Uint16> pointer, int length) String
uInt64ToDouble(int value) double
uint8ListToPointer(Uint8List data) Pointer<Uint8>
unregisterWebFDioInterceptorInstallers(double contextId) → void
Remove all registered installers for a given context.
waitingSyncTaskComplete(double contextId) FutureOr<void>

Typedefs

AnonymousNativeFunction = dynamic Function(List args)
AsyncAnonymousNativeFunction = Future Function(List args)
AsyncBindingMethodCallback = Future Function(List args)
BeforeRendererAttach = RenderObject Function()
BindingCallFunc = dynamic Function(BindingObject bindingObject, List args)
BindingMethodCallback = dynamic Function(List args)
BindingObjectOperation = void Function(WebFViewController? view, BindingObject bindingObject)
BindingPropertyGetter = dynamic Function()
BindingPropertySetter = void Function(dynamic value)
ContentVerificationHandler = void Function(ContentInfo contentInfo, String routePath)
ControllerFactory = WebFController Function()
Function type for factory methods that create new WebFController instances.
ControllerSetup = dynamic Function(WebFController controller)
Function type for setup callbacks that configure a controller after creation.
DartAllocateNativeBindingObject = Pointer<NativeBindingObject> Function()
DartAllocateNewPage = void Function(double, int, int, int, Pointer<Void>, Pointer<WidgetElementShape>, int shapeLen, Object object, Pointer<NativeFunction<HandleAllocateNewPageResult>> handleResult)
DartAllocateNewPageSync = Pointer<Void> Function(double, Pointer<Void>, Pointer<WidgetElementShape>, int, int)
DartAsyncAnonymousFunctionCallback = void Function(Pointer<Void> callbackContext, Pointer<NativeValue> nativeValue, double contextId, Pointer<Utf8> errmsg)
DartAsyncBlobCallback = void Function(Pointer<Void> callbackContext, double contextId, Pointer<Utf8>, Pointer<Uint8>, int)
DartAsyncCallback = void Function(Pointer<Void> callbackContext, double contextId, Pointer<Utf8> errmsg)
DartAsyncModuleCallback = Pointer<NativeValue> Function(Pointer<Void> callbackContext, double contextId, Pointer<Utf8> errmsg, Pointer<NativeValue> ptr, Object context, Pointer<NativeFunction<NativeHandleInvokeModuleResult>> handleResult)
DartBatchFreeFunction = void Function(Pointer<Void> pointers, int count)
DartBindingObjectAsyncCallCallback = void Function(Pointer<Void> resolver, Pointer<NativeValue> successResult, Pointer<Utf8> errorMsg)
DartClearUICommandItems = void Function(Pointer<Void>)
DartCreateBindingObject = void Function(double contextId, Pointer<NativeBindingObject> nativeBindingObject, int type, Pointer<NativeValue> args, int argc)
DartCreateScreen = Pointer<Void> Function(double, double)
DartDispatchEvent = int Function(double contextId, Pointer<NativeBindingObject> nativeBindingObject, Pointer<NativeString> eventType, Pointer<Void> nativeEvent, int isCustomEvent)
DartDisposePage = void Function(double, Pointer<Void>, Pointer<Void> page, Object context, Pointer<NativeFunction<HandleDisposePageResult>> resultCallback)
DartDisposePageSync = void Function(double, Pointer<Void>, Pointer<Void> page)
DartDumpQuickjsByteCode = void Function(Pointer<Void>, Pointer<Uint8> code, int codeLen, Pointer<Pointer<Uint8>> parsedBytecodes, Pointer<Uint64> bytecodeLen, Pointer<Utf8> url, bool isModule, Object context, Pointer<NativeFunction<NativeDumpQuickjsByteCodeResultCallback>> resultCallback)
DartEvaluateQuickjsByteCode = void Function(Pointer<Void>, Pointer<Uint8> bytes, int byteLen, Pointer<NativeBindingObject>, Object object, Pointer<NativeFunction<NativeEvaluateQuickjsByteCodeCallback>> callback)
DartEvaluateScripts = void Function(Pointer<Void>, Pointer<Uint8> code, int codeLen, Pointer<Pointer<Uint8>> parsedBytecodes, Pointer<Uint64> bytecodeLen, Pointer<Utf8> url, int startLine, Pointer<NativeBindingObject>, Object object, Pointer<NativeFunction<NativeEvaluateJavaScriptCallback>> resultCallback)
DartFetchJavaScriptESMModuleCallback = void Function(Pointer<Void> callbackContext, double contextId, Pointer<Utf8> error, Pointer<Uint8> bytes, int length)
DartFlushUICommand = void Function(double contextId, Pointer<NativeBindingObject> selfPointer)
DartFreeActiveCommandBuffer = void Function(Pointer<Void>)
DartFreeSVGResult = void Function(Pointer<NativeGumboOutput> ptr)
DartGetUICommandItems = Pointer<UICommandBufferPack> Function(Pointer<Void>)
DartGetUICommandItemSize = int Function(Pointer<Void>)
DartGetWebFInfo = Pointer<NativeWebFInfo> Function()
DartInitDartDynamicLinking = void Function(Pointer<Void> data)
DartInitDartIsolateContext = Pointer<Void> Function(int sendPort, Pointer<Uint64> dartMethods, int methodsLength)
DartInvokeBindingMethodsFromDart = void Function(Pointer<NativeBindingObject> bindingObject, double contextId, Pointer<NativeValue> method, int argc, Pointer<NativeValue> argv, Object bindingDartObject, Pointer<NativeFunction<NativeInvokeResultCallback>> resultCallback)
DartInvokeEventListener = void Function(Pointer<Void>, Pointer<NativeString>, Pointer<Utf8> eventType, Pointer<Void> nativeEvent, Pointer<NativeValue>, Object object, Pointer<NativeFunction<NativeInvokeModuleCallback>> returnCallback)
DartIsJSThreadBlocked = int Function(Pointer<Void>, double)
DartIsNativeBindingObjectDisposed = bool Function(Pointer<NativeBindingObject>)
DartLoadNativeLibraryCallback = Pointer<Void> Function(Pointer<NativeFunction<StandardWebFPluginExternalSymbol>> entryPoint, Pointer<NativeString> libName, Pointer<Void> initializeData, double contextId, Pointer<Void> exportData)
DartNewPageId = int Function()
DartOnDartContextFinalized = void Function(Pointer<Void> data)
DartParseHTML = void Function(Pointer<Void>, Pointer<Uint8> code, int length, Object context, Pointer<NativeFunction<NativeParseHTMLCallback>> resultCallback)
DartParseSVGResult = Pointer<NativeGumboOutput> Function(Pointer<Utf8> code, int length)
DartRAFAsyncCallback = void Function(Pointer<Void>, double contextId, double data, Pointer<Utf8> errmsg)
DartRegisterPluginByteCode = void Function(Pointer<Uint8> bytes, int length, Pointer<Utf8> pluginName)
DartRequestIdleAsyncCallback = void Function(Pointer<Void> callbackContext, double contextId, double timeout)
DartStandardWebFPluginExternalSymbol = void Function()
DoubleCallback = void Function(double)
ElementAttributeDeleter = void Function()
ElementAttributeGetter = String? Function()
ElementAttributeSetter = void Function(String value)
ElementCreator = Element Function(BindingContext? context)
ElementVisitor = void Function(Node child)
EventHandler = Future<void> Function(Event event)
EveryRenderTextBoxHandler = void Function(RenderTextBox? textBox)
FCPHandler = void Function(double fcpTime, bool isEvaluated)
ForeachStateFunction = void Function(State<StatefulWidget> state)
FPHandler = void Function(double fpTime, bool isEvaluated)
GetChildNodes = List<Node> Function()
GetRenderBoxModel = RenderBoxModel? Function()
Get the render box model of current element.
GetRootElementFontSize = double Function()
GetTargetId = int Function()
GetViewportSize = Size Function()
Get the viewport size of current element.
HandleAllocateNewPageResult = Void Function(Handle object, Pointer<Void> page)
HandleDisposePageResult = Void Function(Handle context)
InsertNodeHandler = void Function(ContainerNode container, Node child, Node? next)
InvokeBindingMethodsFromDart = Void Function(Pointer<NativeBindingObject> bindingObject, Double contextId, Pointer<NativeValue> method, Int32 argc, Pointer<NativeValue> argv, Handle bindingDartObject, Pointer<NativeFunction<NativeInvokeResultCallback>> resultCallback)
InvokeBindingsMethodsFromNative = Void Function(Double contextId, Pointer<NativeBindingObject> bindingObject, Pointer<NativeValue> returnValue, Pointer<NativeValue> method, Int32 argc, Pointer<NativeValue> argv)
InvokeModuleCallback = Future Function({Object? data, String? error})
JSErrorHandler = void Function(String message)
JSLogHandler = void Function(int level, String message)
LCPHandler = void Function(double lcpTime, bool isEvaluated)
LoadErrorHandler = void Function(FlutterError error, StackTrace stack)
LoadHandler = void Function(WebFController controller)
LoadingErrorCallback = void Function(LoadingErrorEvent event)
MethodCallCallback = Future Function(String method, dynamic args)
ModuleCreator = BaseModule Function(ModuleManager? moduleManager)
NativeAllocateNativeBindingObject = Pointer<NativeBindingObject> Function()
NativeAllocateNewPage = Void Function(Double, Int32, Int8, Int8, Pointer<Void>, Pointer<WidgetElementShape>, Int32 shapeLen, Handle object, Pointer<NativeFunction<HandleAllocateNewPageResult>> handleResult)
NativeAllocateNewPageSync = Pointer<Void> Function(Double, Pointer<Void>, Pointer<WidgetElementShape>, Int32, Int8)
NativeAsyncAnonymousFunctionCallback = Void Function(Pointer<Void> callbackContext, Pointer<NativeValue> nativeValue, Double contextId, Pointer<Utf8> errmsg)
NativeAsyncBlobCallback = Void Function(Pointer<Void> callbackContext, Double contextId, Pointer<Utf8>, Pointer<Uint8>, Int32)
NativeAsyncCallback = Void Function(Pointer<Void> callbackContext, Double contextId, Pointer<Utf8> errmsg)
NativeAsyncModuleCallback = Pointer<NativeValue> Function(Pointer<Void> callbackContext, Double contextId, Pointer<Utf8> errmsg, Pointer<NativeValue> ptr, Handle context, Pointer<NativeFunction<NativeHandleInvokeModuleResult>> handleResult)
NativeBatchFreeFunction = Void Function(Pointer<Void> pointers, Int32 count)
NativeBindingObjectAsyncCallCallback = Void Function(Pointer<Void> resolver, Pointer<NativeValue> successResult, Pointer<Utf8> errorMsg)
NativeCancelAnimationFrame = Void Function(Double contextId, Int32 id)
NativeCancelIdleCallback = Void Function(Double contextId, Int32 id)
NativeClearTimeout = Void Function(Double contextId, Int32)
NativeClearUICommandItems = Void Function(Pointer<Void>)
NativeCreateBindingObject = Void Function(Double contextId, Pointer<NativeBindingObject> nativeBindingObject, Int32 type, Pointer<NativeValue> args, Int32 argc)
NativeCreateScreen = Pointer<Void> Function(Double, Double)
NativeDisposePage = Void Function(Double contextId, Pointer<Void>, Pointer<Void> page, Handle context, Pointer<NativeFunction<HandleDisposePageResult>> resultCallback)
NativeDisposePageSync = Void Function(Double contextId, Pointer<Void>, Pointer<Void> page)
NativeDumpQuickjsByteCode = Void Function(Pointer<Void>, Pointer<Uint8> code, Int32 codeLen, Pointer<Pointer<Uint8>> parsedBytecodes, Pointer<Uint64> bytecodeLen, Pointer<Utf8> url, Bool isModule, Handle context, Pointer<NativeFunction<NativeDumpQuickjsByteCodeResultCallback>> resultCallback)
NativeDumpQuickjsByteCodeResultCallback = Void Function(Handle object)
NativeEvaluateJavaScriptCallback = Void Function(Handle object, Int8 result)
NativeEvaluateModule = Void Function(Pointer<Void>, Pointer<Uint8> code, Uint64 codeLen, Pointer<Pointer<Uint8>> parsedBytecodes, Pointer<Uint64> bytecodeLen, Pointer<Utf8> url, Int32 startLine, Pointer<NativeBindingObject>, Handle object, Pointer<NativeFunction<NativeEvaluateJavaScriptCallback>> resultCallback)
NativeEvaluatePropertyPathFunc = Pointer<NativeValue> Function(Pointer<Void> dartIsolateContext, Double contextId, Pointer<Utf8> objectId, Pointer<Utf8> propertyPath)
NativeEvaluateQuickjsByteCode = Void Function(Pointer<Void>, Pointer<Uint8> bytes, Int32 byteLen, Pointer<NativeBindingObject>, Handle object, Pointer<NativeFunction<NativeEvaluateQuickjsByteCodeCallback>> callback)
NativeEvaluateQuickjsByteCodeCallback = Void Function(Handle object, Int8 result)
NativeEvaluateScripts = Void Function(Pointer<Void>, Pointer<Uint8> code, Uint64 codeLen, Pointer<Pointer<Uint8>> parsedBytecodes, Pointer<Uint64> bytecodeLen, Pointer<Utf8> url, Int32 startLine, Pointer<NativeBindingObject>, Handle object, Pointer<NativeFunction<NativeEvaluateJavaScriptCallback>> resultCallback)
NativeFetchJavaScriptESMModule = Void Function(Pointer<Void> callbackContext, Double contextId, Pointer<NativeString> moduleUrl, Pointer<NativeFunction<NativeFetchJavaScriptESMModuleCallback>> callback)
NativeFetchJavaScriptESMModuleCallback = Void Function(Pointer<Void> callbackContext, Double contextId, Pointer<Utf8> error, Pointer<Uint8> bytes, Int32 length)
NativeFlushUICommand = Void Function(Double contextId, Pointer<NativeBindingObject> selfPointer)
NativeFreeActiveCommandBuffer = Void Function(Pointer<Void>)
NativeFreeSVGResult = Void Function(Pointer<NativeGumboOutput> ptr)
NativeGetObjectPropertiesAsyncFunc = Void Function(Pointer<Void> dartIsolateContext, Double contextId, Pointer<Utf8> objectId, Int32 includePrototype, Handle object, Pointer<NativeFunction<NativeGetObjectPropertiesCallback>> callback)
NativeGetObjectPropertiesCallback = Void Function(Handle object, Pointer<NativeValue> result)
NativeGetObjectPropertiesFunc = Pointer<NativeValue> Function(Pointer<Void> dartIsolateContext, Double contextId, Pointer<Utf8> objectId, Int32 includePrototype)
NativeGetUICommandItems = Pointer<UICommandBufferPack> Function(Pointer<Void>)
NativeGetUICommandItemSize = Int64 Function(Pointer<Void>)
NativeGetWebFInfo = Pointer<NativeWebFInfo> Function()
NativeHandleInvokeModuleResult = Void Function(Handle context, Pointer<NativeValue> result)
NativeInitDartDynamicLinking = Void Function(Pointer<Void> data)
NativeInitDartIsolateContext = Pointer<Void> Function(Int64 sendPort, Pointer<Uint64> dartMethods, Int32 methodsLength)
NativeInvokeEventListener = Void Function(Pointer<Void>, Pointer<NativeString>, Pointer<Utf8> eventType, Pointer<Void> nativeEvent, Pointer<NativeValue>, Handle object, Pointer<NativeFunction<NativeInvokeModuleCallback>> returnCallback)
NativeInvokeModule = Pointer<NativeValue> Function(Pointer<Void> callbackContext, Double contextId, Pointer<NativeString> module, Pointer<NativeString> method, Pointer<NativeValue> params, Pointer<Uint8> errmsg, Pointer<NativeFunction<NativeAsyncModuleCallback>>)
NativeInvokeModuleCallback = Void Function(Handle object, Pointer<NativeValue> result)
NativeInvokeResultCallback = Void Function(Handle object, Pointer<NativeValue> result)
NativeIsJSThreadBlocked = Int8 Function(Pointer<Void>, Double)
NativeIsNativeBindingObjectDisposed = Bool Function(Pointer<NativeBindingObject>)
NativeJSError = Void Function(Double contextId, Pointer<Utf8>)
NativeJSLog = Void Function(Double contextId, Int32 level, Pointer<Utf8>)
NativeLoadNativeLibrary = Void Function(Double contextId, Pointer<NativeString> libName, Pointer<Void> initializeData, Pointer<Void> importData, Pointer<NativeFunction<NativeLoadNativeLibraryCallback>> callback)
NativeLoadNativeLibraryCallback = Pointer<Void> Function(Pointer<NativeFunction<StandardWebFPluginExternalSymbol>> entryPoint, Pointer<NativeString> libName, Pointer<Void> initializeData, Double contextId, Pointer<Void> exportData)
NativeNewPageId = Int64 Function()
NativeOnDartContextFinalized = Void Function(Pointer<Void> data)
NativeOnJSLogStructured = Void Function(Double contextId, Int32 level, Int32 argc, Pointer<NativeValue> argv)
NativeParseHTML = Void Function(Pointer<Void>, Pointer<Uint8> code, Int32 length, Handle context, Pointer<NativeFunction<NativeParseHTMLCallback>> resultCallback)
NativeParseHTMLCallback = Void Function(Handle object)
NativeParseSVGResult = Pointer<NativeGumboOutput> Function(Pointer<Utf8> code, Int32 length)
NativeRAFAsyncCallback = Void Function(Pointer<Void> callbackContext, Double contextId, Double data, Pointer<Utf8> errmsg)
NativeRegisterPluginByteCode = Void Function(Pointer<Uint8> bytes, Int32 length, Pointer<Utf8> pluginName)
NativeReleaseObjectFunc = Void Function(Pointer<Void> dartIsolateContext, Double contextId, Pointer<Utf8> objectId)
NativeReloadApp = Void Function(Double contextId)
NativeRequestAnimationFrame = Void Function(Int32 newFrameId, Pointer<Void> callbackContext, Double contextId, Pointer<NativeFunction<NativeRAFAsyncCallback>>)
NativeRequestBatchUpdate = Void Function(Double contextId)
NativeRequestIdleAsyncCallback = Void Function(Pointer<Void> callbackContext, Double contextId, Double timeout)
NativeRequestIdleCallback = Void Function(Int32 newIdleId, Pointer<Void> callbackContext, Double contextId, Double timeout, Int32 uiCommandSize, Pointer<NativeFunction<NativeRequestIdleAsyncCallback>>)
NativeSetInterval = Void Function(Int32 newTimerId, Pointer<Void> callbackContext, Double contextId, Pointer<NativeFunction<NativeAsyncCallback>>, Int32)
NativeSetTimeout = Void Function(Int32 newTimerId, Pointer<Void> callbackContext, Double contextId, Pointer<NativeFunction<NativeAsyncCallback>>, Int32)
NativeToBlob = Void Function(Pointer<Void> callbackContext, Double contextId, Pointer<NativeFunction<NativeAsyncBlobCallback>>, Pointer<Void>, Double)
NewModuleCreator = BaseModule Function(ModuleManager)
NodeVisitor = void Function(Node node)
OnAppBarCreated = PreferredSizeWidget Function(String title, RouterLinkElement routeLinkElement)
Signature for creating an AppBar for a WebF subview page.
OnControllerCreated = void Function(WebFController controller)
OnControllerInit = Future<void> Function(WebFController controller)
A callback that is invoked when a WebFController is fully initialized but before the content is executed.
PendingCallback = void Function()
PhaseEventCallback = void Function(LoadingPhaseEvent event)
Callback type for phase events
RouteFCPHandler = void Function(double fcpTime, String routePath)
RouteFPHandler = void Function(double fpTime, String routePath)
RouteLCPHandler = void Function(double lcpTime, String routePath)
ScriptExecution = Future<void> Function(bool async)
StandardWebFPluginExternalSymbol = Void Function()
StaticDefinedAsyncBindingMethodCallback = Future Function(BindingObject, List args)
StaticDefinedAsyncBindingObjectMethodMap = Map<String, StaticDefinedAsyncBindingObjectMethod>
StaticDefinedBindingPropertyGetter = dynamic Function(BindingObject)
StaticDefinedBindingPropertyMap = Map<String, StaticDefinedBindingProperty>
StaticDefinedBindingPropertySetter = void Function(BindingObject, dynamic value)
StaticDefinedSyncBindingMethodCallback = dynamic Function(BindingObject, List args)
StaticDefinedSyncBindingObjectMethodMap = Map<String, StaticDefinedSyncBindingObjectMethod>
SubViewBuilder = Widget Function(BuildContext context, WebFController)
Function type for creating widgets using a WebFController.
TestElement = bool Function(Element element)
TitleChangedHandler = void Function(String title)
TraverseElementCallback = void Function(Element element)
VoidCallback = void Function()
WebFNavigationDecisionHandler = Future<WebFNavigationActionPolicy> Function(WebFNavigationAction action)
WebFNavigationErrorHandler = void Function(Object error, Object stack)
WebFRouterViewBuilder = Widget Function(BuildContext context, WebFController controller)