JockeyWebView class

Inheritance

Constructors

JockeyWebView({required JockeyHelper jockeyHelper, Key? key, WebViewCreatedCallback? onWebViewCreated, String? initialUrl, PageStartedCallback? onPageStarted, JavascriptMode javascriptMode = JavascriptMode.disabled, PageFinishedCallback? onPageFinished, NavigationDelegate? navigationDelegate, PageLoadingCallback? onProgress, Set<JavascriptChannel>? javascriptChannels, bool gestureNavigationEnabled = false, bool allowsInlineMediaPlayback = false, WebResourceErrorCallback? onWebResourceError, AutoMediaPlaybackPolicy initialMediaPlaybackPolicy = AutoMediaPlaybackPolicy.require_user_action_for_all_media_types, String? userAgent})

Properties

allowsInlineMediaPlayback bool
Controls whether inline playback of HTML5 videos is allowed on iOS.
finalinherited
backgroundColor Color?
The background color of the WebView.
finalinherited
debuggingEnabled bool
Controls whether WebView debugging is enabled.
finalinherited
gestureNavigationEnabled bool
A Boolean value indicating whether horizontal swipe gestures will trigger back-forward list navigations.
finalinherited
gestureRecognizers Set<Factory<OneSequenceGestureRecognizer>>?
Which gestures should be consumed by the web view.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
initialCookies List<WebViewCookie>
The initial cookies to set.
finalinherited
initialMediaPlaybackPolicy → AutoMediaPlaybackPolicy
Which restrictions apply on automatic media playback.
finalinherited
initialUrl String?
The initial URL to load.
finalinherited
javascriptChannels Set<JavascriptChannel>?
The set of JavascriptChannels available to JavaScript code running in the web view.
finalinherited
javascriptMode → JavascriptMode
Whether JavaScript execution is enabled.
finalinherited
jockeyHelper JockeyHelper
getter/setter pair
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
A delegate function that decides how to handle navigation actions.
finalinherited
onPageFinished → PageFinishedCallback?
Invoked when a page has finished loading.
finalinherited
onPageStarted → PageStartedCallback?
Invoked when a page starts loading.
finalinherited
onProgress → PageLoadingCallback?
Invoked when a page is loading.
finalinherited
onWebResourceError → WebResourceErrorCallback?
Invoked when a web resource has failed to load.
finalinherited
onWebViewCreated → WebViewCreatedCallback?
If not null invoked once the web view is created.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userAgent String?
The value used for the HTTP User-Agent: request header.
finalinherited
zoomEnabled bool
A Boolean value indicating whether the WebView should support zooming using its on-screen zoom controls and gestures.
finalinherited

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StatefulWidget>
Creates the mutable state for this widget at a given location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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