WebFViewController class

Implemented types
Mixed-in types

Constructors

WebFViewController({Color? background, bool enableDebug = false, bool enableBlink = false, required WebFController rootController, required WebFThread runningThread, WebFNavigationDelegate? navigationDelegate, List<Cookie>? initialCookies})

Properties

background Color?
getter/setter pair
contextId double
no setter
currentViewport RenderViewportBox?
no setter
debugDOMTreeChanged VoidCallback?
getter/setter pair
devtoolsAttributeModified ↔ void Function(Element element, String name, String? value)?
getter/setter pair
devtoolsAttributeRemoved ↔ void Function(Element element, String name)?
getter/setter pair
devtoolsCharacterDataModified ↔ void Function(TextNode node)?
getter/setter pair
devtoolsChildNodeInserted ↔ void Function(Node parent, Node node, Node? previousSibling)?
getter/setter pair
devtoolsChildNodeRemoved ↔ void Function(Node parent, Node node)?
getter/setter pair
disposed bool
no setter
document Document
getter/setter pair
getter/setter pair
enableDebug bool
getter/setter pair
firstLoad bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inited bool
no setter
initialCookies List<Cookie>?
getter/setter pair
isAnimationTimelineStopped bool
no setter
getter/setter pair
pendingUICommands List<List<UICommand>>
final
rootController WebFController
getter/setter pair
routerViewport RouterViewViewportBox?
getter/setter pair
runningThread WebFThread
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetIdToDevNodeIdMap Map<int, int>
no setter
viewport RootRenderViewportBox?
getter/setter pair
window Window
getter/setter pair

Methods

addEvent(Pointer<NativeBindingObject> nativePtr, String eventType, {Pointer<AddEventListenerOptions>? addEventListenerOptions}) → void
addIntersectionObserver(Pointer<NativeBindingObject> observerPointer, Pointer<NativeBindingObject> elementPointer) → void
addPendingAnimationTimeline(VoidCallback callback) → void
attachToFlutter(BuildContext context) → void
awaitForHybridRouteLoaded(String routePath) Future<void>
clearInlineStyle(Pointer<NativeType> selfPtr) → void
clearPseudoStyle(Pointer<NativeType> selfPtr, String args) → void
cloneNode(Pointer<NativeBindingObject> selfPtr, Pointer<NativeBindingObject> newPtr) → void
createComment(Pointer<NativeBindingObject> nativePtr) → void
createDocumentFragment(Pointer<NativeBindingObject> nativePtr) → void
createElement(Pointer<NativeBindingObject> nativePtr, String tagName) → void
createElementNS(Pointer<NativeBindingObject> nativePtr, String uri, String tagName) → void
createTextNode(Pointer<NativeBindingObject> nativePtr, String data) → void
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
deliverIntersectionObserver() → void
deliverStyleRequestForDocument() → void
detachFromFlutter() → void
didChangeAccessibilityFeatures() → void
Called when the system changes the set of currently active accessibility features.
override
didChangeAppLifecycleState(AppLifecycleState state) → void
Called when the system puts the app in the background or returns the app to the foreground.
override
didChangeLocales(List<Locale>? locales) → void
Called when the system tells the app that the user's locale has changed. For example, if the user changes the system language settings.
override
didChangeMetrics() → void
Called when the application's dimensions change. For example, when a phone is rotated.
override
didChangePlatformBrightness() → void
Called when the platform brightness changes.
override
didChangeTextScaleFactor() → void
Called when the platform's text scale factor changes.
override
didChangeViewFocus(ViewFocusEvent event) → void
Called whenever the PlatformDispatcher receives a notification that the focus state on a view has changed.
override
didHaveMemoryPressure() → void
Called when the system is running low on memory.
override
didPopRoute() Future<bool>
Called when the system tells the app to pop the current route, such as after a system back button press or back gesture.
override
didPushRoute(String route) Future<bool>
Called when the host tells the application to push a new route onto the navigator.
override
didPushRouteInformation(RouteInformation routeInformation) Future<bool>
Called when the host tells the application to push a new RouteInformation and a restoration state onto the router.
override
didRequestAppExit() Future<AppExitResponse>
Called when a request is received from the system to exit the application.
override
disconnectIntersectionObserver(Pointer<NativeBindingObject> observerPointer) → void
dispose() Future<void>
disposeAllBindingObjects() Future<void>
disposeTargetIdToDevNodeIdMap(BindingObject? object) → void
evaluateJavaScripts(String code) Future<void>
flushPendingCommandsPerFrame() → void
flushPendingStyleProperties(int address) → void
forDevtoolsNodeId(BindingObject object) int
getAttribute(Pointer<NativeType> selfPtr, String key) String?
getBindingObject<T>(Pointer<NativeType> pointer) → T?
getHybridRouterView(String path) RouterLinkElement?
getRootRenderObject() RenderBox?
getTargetIdByNodeId(int? address) int
handleCancelBackGesture() → void
Called when a predictive back gesture is canceled, indicating that no navigation should occur.
override
handleCommitBackGesture() → void
Called when a predictive back gesture is finished successfully, indicating that the current route should be popped.
override
handleNavigationAction(String? sourceUrl, String targetUrl, WebFNavigationType navigationType) Future<void>
handleStartBackGesture(PredictiveBackEvent backEvent) bool
Called at the start of a predictive back gesture.
override
handleUpdateBackGestureProgress(PredictiveBackEvent backEvent) → void
Called when a predictive back gesture moves.
override
hasBindingObject(Pointer<NativeType> pointer) bool
initDocument(dynamic view, Pointer<NativeBindingObject> pointer) → void
initialize() Future<void>
initWindow(WebFViewController view, Pointer<NativeBindingObject> pointer) → void
insertAdjacentNode(Pointer<NativeBindingObject> selfPointer, String position, Pointer<NativeBindingObject> newPointer) → void
foo
installBindingObjectConstructorsIfNeeded() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onPlatformBrightnessChanged() → void
registerCallbackOnceForFlutterAttached(VoidCallback callback) → void
removeAttribute(Pointer<NativeType> selfPtr, String key) → void
removeBindingObject(Pointer<NativeType> pointer) → void
removeEvent(Pointer<NativeBindingObject> nativePtr, String eventType, {bool isCapture = false}) → void
removeHybridRouterView(String path) → void
removeIntersectionObserver(Pointer<NativeBindingObject> observerPointer, Pointer<NativeBindingObject> elementPointer) → void
removeNode(Pointer<NativeType> pointer) → void
removePseudoStyle(Pointer<NativeType> selfPtr, String args, String key) → void
requestCanvasPaint(Pointer<NativeType> selfPtr) → void
resumeAnimationTimeline() → void
setAttribute(Pointer<NativeBindingObject> selfPtr, String key, String value) → void
setBindingObject(Pointer<NativeType> pointer, BindingObject bindingObject) → void
setHybridRouterView(String path, WidgetElement root) → void
setInlineStyle(Pointer<NativeType> selfPtr, String key, String value, {String? baseHref}) → void
setPseudoStyle(Pointer<NativeType> selfPtr, String args, String key, String value, {String? baseHref}) → void
stopAnimationsTimeLine() → void
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toImage(double devicePixelRatio, [Pointer<Void>? eventTargetPointer]) Future<Uint8List>
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

disposeBindingObject(WebFViewController view, Pointer<NativeBindingObject> pointer) → void

Constants

focusViewInsetBottomOverall → const double