flutter_inappwebview library
Classes
-
AjaxRequest
-
Class that represents a JavaScript XMLHttpRequest object.
-
AjaxRequestAction
-
Class used by AjaxRequest class.
-
AjaxRequestEvent
-
Class used by AjaxRequest class. It represents events measuring progress of an AjaxRequest.
-
AjaxRequestEventType
-
Class used by AjaxRequestEvent class.
-
Class that represents the HTTP headers of an AjaxRequest.
-
AjaxRequestReadyState
-
Class used by AjaxRequest class. It represents the state of an AjaxRequest.
-
AndroidActionModeMenuItem
-
Class that represents an Android-specific class used to disable the action mode menu items. [...]
-
AndroidCacheMode
-
Class that represents an Android-specific class used to override the way the cache is used.
-
AndroidChromeCustomTabsOptions
-
This class represents all the Android-only ChromeSafariBrowser options available.
-
AndroidForceDark
-
Class that represents an Android-specific class used to indicate the force dark mode. [...]
-
AndroidInAppBrowserOptions
-
This class represents all the Android-only InAppBrowser options available.
-
AndroidInAppWebViewController
-
InAppWebViewControllerAndroid class represents the Android controller that contains only android-specific methods for the WebView.
-
AndroidInAppWebViewOptions
-
This class represents all the Android-only WebView options available.
-
AndroidLayoutAlgorithm
-
Class that represents an Android-specific class used to set the underlying layout algorithm.
-
AndroidMixedContentMode
-
Class that represents an Android-specific class used to configure the WebView's behavior when a secure origin attempts to load a resource from an insecure origin. [...]
-
AndroidOptions
-
-
AndroidOverScrollMode
-
Class that represents an Android-specific class used to configure the WebView's over-scroll mode.
Setting the over-scroll mode of a WebView will have an effect only if the WebView is capable of scrolling.
-
AndroidScrollBarStyle
-
Class that represents an Android-specific class used to configure the style of the scrollbars.
The scrollbars can be overlaid or inset.
When inset, they add to the padding of the view. And the scrollbars can be drawn inside the padding area or on the edge of the view.
For example, if a view has a background drawable and you want to draw the scrollbars inside the padding specified by the drawable,
you can use AndroidScrollBarStyle.SCROLLBARS_INSIDE_OVERLAY or AndroidScrollBarStyle.SCROLLBARS_INSIDE_INSET.
If you want them to appear at the edge of the view, ignoring the padding,
then you can use AndroidScrollBarStyle.SCROLLBARS_OUTSIDE_OVERLAY or AndroidScrollBarStyle.SCROLLBARS_OUTSIDE_INSET.
-
AndroidSslError
-
Class that represents the Android-specific primary error associated to the server SSL certificate.
Used by the ServerTrustChallenge class.
-
AndroidVerticalScrollbarPosition
-
Class that represents an Android-specific class used to configure the position of the vertical scroll bar.
-
AndroidWebStorageManager
-
Class that is used to manage the JavaScript storage APIs provided by the WebView.
It manages the Application Cache API, the Web SQL Database API and the HTML5 Web Storage API.
-
AndroidWebStorageOrigin
-
Class that encapsulates information about the amount of storage currently used by an origin for the JavaScript storage APIs.
An origin comprises the host, scheme and port of a URI. See AndroidWebStorageManager for details.
-
AndroidWebViewPackageInfo
-
Class that represents an Android WebView package info.
-
ASN1DERDecoder
-
-
ASN1DistinguishedNames
-
-
ASN1Identifier
-
-
ASN1IdentifierClass
-
-
ASN1IdentifierTagNumber
-
-
ASN1Object
-
-
BrowserOptions
-
-
ChromeSafariBrowser
-
This class uses native Chrome Custom Tabs on Android
and SFSafariViewController on iOS. [...]
-
ChromeSafariBrowserClassOptions
-
Class that represents the options that can be used for an ChromeSafariBrowser window.
-
Class that represents a custom menu item for a ChromeSafariBrowser instance.
-
ChromeSafariBrowserOptions
-
-
ClientCertChallenge
-
Class that represents the challenge of the WebView.onReceivedClientCertRequest event.
It provides all the information about the challenge.
-
ClientCertResponse
-
Class that represents the response used by the WebView.onReceivedClientCertRequest event.
-
ClientCertResponseAction
-
Class used by ClientCertResponse class.
-
ConsoleMessage
-
Class representing a JavaScript console message from WebCore.
This could be a issued by a call to one of the console logging functions (e.g. console.log('...')) or a JavaScript error on the page. [...]
-
ConsoleMessageLevel
-
Class representing the level of a console message.
-
ContentBlocker
-
Class that represents a set of rules to use block content in the browser window. [...]
-
ContentBlockerAction
-
Action associated to the trigger. The action tells to the WebView what to do when the trigger is matched.
When a trigger matches a resource, the browser queues the associated action for execution.
The WebView evaluates all the triggers, it executes the actions in order.
When a domain matches a trigger, all rules after the triggered rule that specify the same action are skipped.
Group the rules with similar actions together to improve performance.
-
ContentBlockerActionType
-
Class that represents the kind of action that can be used with a ContentBlockerTrigger.
-
ContentBlockerTrigger
-
Trigger of the content blocker. The trigger tells to the WebView when to perform the corresponding action.
A trigger dictionary must include an ContentBlockerTrigger.urlFilter, which specifies a pattern to match the URL against.
The remaining properties are optional and modify the behavior of the trigger.
For example, you can limit the trigger to specific domains or have it not apply when a match is found on a specific domain.
-
ContentBlockerTriggerLoadType
-
Class that represents the possible load type for a ContentBlockerTrigger.
-
ContentBlockerTriggerResourceType
-
Class that represents the possible resource type defined for a ContentBlockerTrigger.
-
Class that represents the WebView context menu. It used by WebView.contextMenu. [...]
-
Class that represent an item of the ContextMenu.
-
Class that represents available options used by ContextMenu.
-
Cookie
-
Class that represents a cookie returned by the CookieManager.
-
CookieManager
-
Class that implements a singleton object (shared instance) which manages the cookies used by WebView instances.
On Android, it is implemented using CookieManager.
On iOS, it is implemented using WKHTTPCookieStore. [...]
-
CreateWindowRequest
-
Class that represents the navigation request used by the WebView.onCreateWindow event.
-
CustomSchemeResponse
-
Class representing the response returned by the WebView.onLoadResourceCustomScheme event.
It allows to load a specific resource. The resource data must be encoded to
base64
.
-
Favicon
-
Class that represents a favicon of a website. It is used by InAppWebViewController.getFavicons method.
-
FetchRequest
-
Class that represents a HTTP request created with JavaScript using the Fetch API.
-
FetchRequestAction
-
Class used by FetchRequest class.
-
FetchRequestCredential
-
Class that is an interface for FetchRequestCredentialDefault, FetchRequestFederatedCredential and FetchRequestPasswordCredential classes.
-
FetchRequestCredentialDefault
-
Class that represents the default credentials used by an FetchRequest.
-
FetchRequestFederatedCredential
-
Class that represents a FederatedCredential type of credentials.
-
FetchRequestPasswordCredential
-
Class that represents a PasswordCredential type of credentials.
-
FormResubmissionAction
-
Class that represents the action to take used by the WebView.androidOnFormResubmission event.
-
GeolocationPermissionShowPromptResponse
-
Class used by the host application to set the Geolocation permission state for an origin during the WebView.androidOnGeolocationPermissionsShowPrompt event.
-
HeadlessInAppWebView
-
Class that represents a WebView in headless mode.
It can be used to run a WebView in background without attaching an
InAppWebView
to the widget tree. [...]
-
HttpAuthChallenge
-
Class that represents the challenge of the WebView.onReceivedHttpAuthRequest event.
It provides all the information about the challenge.
-
HttpAuthCredential
-
Class that represents the credentials of an http authentication.
It is used by the HttpAuthCredentialDatabase class.
-
HttpAuthCredentialDatabase
-
Class that implements a singleton object (shared instance) which manages the shared HTTP auth credentials cache.
On iOS, this class uses the URLCredentialStorage class.
On Android, this class has a custom implementation using
android.database.sqlite.SQLiteDatabase
because
WebViewDatabase
doesn't offer the same functionalities as iOS URLCredentialStorage
.
-
HttpAuthResponse
-
Class that represents the response used by the WebView.onReceivedHttpAuthRequest event.
-
HttpAuthResponseAction
-
Class used by HttpAuthResponse class.
-
HTTPCookieSameSitePolicy
-
Class that represents the same site policy of a cookie. Used by the Cookie class.
-
InAppBrowser
-
This class uses the native WebView of the platform.
The webViewController field can be used to access the InAppWebViewController API.
-
InAppBrowserClassOptions
-
Class that represents the options that can be used for an InAppBrowser WebView.
-
InAppBrowserOptions
-
This class represents all the cross-platform InAppBrowser options available.
-
InAppLocalhostServer
-
This class allows you to create a simple server on
http://localhost:[port]/
in order to be able to load your assets file on a server. The default port
value is 8080
.
-
InAppWebView
-
Flutter Widget for adding an inline native WebView integrated in the flutter widget tree.
-
InAppWebViewController
-
Controls a WebView, such as an InAppWebView widget instance, a HeadlessInAppWebView instance or InAppBrowser WebView instance. [...]
-
InAppWebViewGroupOptions
-
Class that represents the options that can be used for a WebView.
-
InAppWebViewHitTestResult
-
Class that represents the hit result for hitting an HTML elements.
-
InAppWebViewHitTestResultType
-
Class representing the InAppWebViewHitTestResult type.
-
InAppWebViewInitialData
-
Initial data as a content for an WebView instance, using baseUrl as the base URL for it.
-
InAppWebViewOptions
-
This class represents all the cross-platform WebView options available.
-
IOSInAppBrowserOptions
-
This class represents all the iOS-only InAppBrowser options available.
-
IOSInAppWebViewController
-
InAppWebViewControllerIOS class represents the iOS controller that contains only ios-specific methods for the WebView.
-
IOSInAppWebViewOptions
-
This class represents all the iOS-only WebView options available.
-
IosOptions
-
-
IOSSafariDismissButtonStyle
-
Class that represents an iOS-specific class used to set the custom style for the dismiss button. [...]
-
IOSSafariOptions
-
This class represents all the iOS-only ChromeSafariBrowser options available.
-
IOSSslError
-
Class that represents the iOS-specific primary error associated to the server SSL certificate.
Used by the ServerTrustChallenge class.
-
IOSUIModalPresentationStyle
-
Class that represents an iOS-specific class used to specify the modal presentation style when presenting a view controller.
-
IOSUIModalTransitionStyle
-
Class that represents an iOS-specific class used to specify the transition style when presenting a view controller.
-
IOSUIScrollViewContentInsetAdjustmentBehavior
-
Class that represents an iOS-specific class used to configure how safe area insets are added to the adjusted content inset. [...]
-
IOSUIScrollViewDecelerationRate
-
Class that represents a floating-point value that determines the rate of deceleration after the user lifts their finger.
-
IOSWebStorageManager
-
Class that represents various types of data that a website might make use of.
This includes cookies, disk and memory caches, and persistent data such as WebSQL, IndexedDB databases, and local storage. [...]
-
IOSWKDataDetectorTypes
-
Class that represents an iOS-specific class used to specify a
dataDetectoryTypes
value that adds interactivity to web content that matches the value. [...]
-
IOSWKNavigationType
-
Class that represents the type of action triggering a navigation on iOS for the WebView.shouldOverrideUrlLoading event.
-
IOSWKSelectionGranularity
-
Class that represents an iOS-specific class used to set the level of granularity with which the user can interactively select content in the web view.
-
IOSWKWebsiteDataRecord
-
Class that represents website data, grouped by domain name using the public suffix list. [...]
-
IOSWKWebsiteDataType
-
Class that represents a website data type. [...]
-
JsAlertRequest
-
Class that represents the request of the WebView.onJsAlert event.
-
JsAlertResponse
-
Class that represents the response used by the WebView.onJsAlert event to control a JavaScript alert dialog.
-
JsAlertResponseAction
-
Class used by JsAlertResponse class.
-
JsBeforeUnloadRequest
-
Class that represents the request of the WebView.androidOnJsBeforeUnload event.
-
JsBeforeUnloadResponse
-
Class that represents the response used by the WebView.androidOnJsBeforeUnload event to control a JavaScript alert dialog.
-
JsBeforeUnloadResponseAction
-
Class used by JsBeforeUnloadResponse class.
-
JsConfirmRequest
-
Class that represents the request of the WebView.onJsConfirm event.
-
JsConfirmResponse
-
Class that represents the response used by the WebView.onJsConfirm event to control a JavaScript confirm dialog.
-
JsConfirmResponseAction
-
Class used by JsConfirmResponse class.
-
JsPromptRequest
-
Class that represents the request of the WebView.onJsPrompt event.
-
JsPromptResponse
-
Class that represents the response used by the WebView.onJsPrompt event to control a JavaScript prompt dialog.
-
JsPromptResponseAction
-
Class used by JsPromptResponse class.
-
KeyUsage
-
-
LoadedResource
-
Class representing a resource response of the WebView.
It is used by the method WebView.onLoadResource.
-
LocalStorage
-
Class that provides methods to manage the JavaScript
window.localStorage
object.
It used by WebStorage.
-
LoginRequest
-
Class used by WebView.androidOnReceivedLoginRequest event.
-
MetaTag
-
Class that represents a
<meta>
HTML tag. It is used by the InAppWebViewController.getMetaTags method.
-
MetaTagAttribute
-
Class that represents an attribute of a
<meta>
HTML tag. It is used by the MetaTag class.
-
OID
-
-
PermissionRequestResponse
-
Class that represents the response used by the WebView.androidOnPermissionRequest event.
-
PermissionRequestResponseAction
-
Class used by PermissionRequestResponse class.
-
ProtectionSpace
-
Class that represents a protection space requiring authentication.
-
ProtectionSpaceHttpAuthCredentials
-
Class that represents a ProtectionSpace with all of its HttpAuthCredentials.
It used by HttpAuthCredentialDatabase.getAllAuthCredentials.
-
RendererPriority
-
Class used by RendererPriorityPolicy class.
-
RendererPriorityPolicy
-
Class that represents the priority policy will be used to determine whether an out of process renderer should be considered to be a target for OOM killing.
When a WebView is destroyed it will cease to be considerered when calculating the renderer priority.
Once no WebViews remain associated with the renderer, the priority of the renderer will be reduced to RendererPriority.RENDERER_PRIORITY_WAIVED.
The default policy is to set the priority to RendererPriority.RENDERER_PRIORITY_IMPORTANT regardless of visibility,
and this should not be changed unless the caller also handles renderer crashes with WebView.androidOnRenderProcessGone.
Any other setting will result in WebView renderers being killed by the system more aggressively than the application.
-
RenderProcessGoneDetail
-
Class that provides more specific information about why the render process exited.
It is used by the WebView.androidOnRenderProcessGone event.
-
RequestFocusNodeHrefResult
-
Class that represents the result used by the InAppWebViewController.requestFocusNodeHref method.
-
RequestImageRefResult
-
Class that represents the result used by the InAppWebViewController.requestImageRef method.
-
SafeBrowsingResponse
-
Class that represents the response used by the WebView.androidOnSafeBrowsingHit event.
It is used to indicate an action to take when hitting a malicious URL.
-
SafeBrowsingResponseAction
-
Class used by SafeBrowsingResponse class.
-
SafeBrowsingThreat
-
Class that represents the reason the resource was caught by Safe Browsing.
-
ServerTrustAuthResponse
-
ServerTrustAuthResponse class represents the response used by the WebView.onReceivedServerTrustAuthRequest event.
-
ServerTrustAuthResponseAction
-
Class used by ServerTrustAuthResponse class.
-
ServerTrustChallenge
-
Class that represents the challenge of the WebView.onReceivedServerTrustAuthRequest event.
It provides all the information about the challenge.
-
SessionStorage
-
Class that provides methods to manage the JavaScript
window.sessionStorage
object.
It used by WebStorage.
-
ShouldOverrideUrlLoadingAction
-
Class that is used by WebView.shouldOverrideUrlLoading event.
It represents the policy to pass back to the decision handler.
-
ShouldOverrideUrlLoadingRequest
-
Class that represents the navigation request used by the WebView.shouldOverrideUrlLoading event.
-
SslCertificate
-
SSL certificate info (certificate details) class.
-
SslCertificateDName
-
Distinguished name helper class. Used by SslCertificate.
-
Storage
-
Class that provides methods to manage the JavaScript Storage object.
It is used by LocalStorage and SessionStorage.
-
UserPreferredContentMode
-
Class that represents the content mode to prefer when loading and rendering a webpage.
-
WebHistory
-
This class contains a snapshot of the current back/forward list for a WebView.
-
WebHistoryItem
-
A convenience class for accessing fields in an entry in the back/forward list of a WebView. Each WebHistoryItem is a snapshot of the requested history item.
-
WebResourceRequest
-
Class representing a resource request of the WebView used by the event WebView.androidShouldInterceptRequest.
Available only on Android. [...]
-
WebResourceResponse
-
Class representing a resource response of the WebView used by the event WebView.androidShouldInterceptRequest.
Available only on Android. [...]
-
WebStorage
-
Class that provides access to the JavaScript Web Storage API:
window.sessionStorage
and window.localStorage
.
It used by InAppWebViewController.webStorage.
-
WebStorageItem
-
Class that represents a single web storage item of the JavaScript
window.sessionStorage
and window.localStorage
objects.
-
WebStorageManager
-
Class that implements a singleton object (shared instance) which manages the web storage used by WebView instances.
On Android, it is implemented using WebStorage.
On iOS, it is implemented using WKWebsiteDataStore.default(). [...]
-
WebStorageType
-
Class that represents the type of Web Storage:
localStorage
or sessionStorage
.
Used by the Storage class.
-
WebView
-
Abstract class that represents a WebView. Used by WebView and HeadlessInAppWebView.
-
WebViewOptions
-
-
WebViewRenderProcessAction
-
Class that represents the action to take used by the WebView.androidOnRenderProcessUnresponsive and WebView.androidOnRenderProcessResponsive event
to terminate the Android WebViewRenderProcess.
-
X509Certificate
-
Class that represents a X.509 certificate.
This provides a standard way to access all the attributes of an X.509 certificate.
-
X509Extension
-
-
X509PublicKey
-
Constants
-
javaScriptHandlerForbiddenNames
→ const List<String>
-
List of forbidden names for JavaScript handlers.
const ["onLoadResource", "shouldInterceptAjaxRequest", "onAjaxReadyStateChange", "onAjaxProgress", "shouldInterceptFetchRequest", "onPrint",…