PlatformInAppBrowserProperty enum

List of PlatformInAppBrowser's properties that can be used to check i they are supported or not by the current platform.

Inheritance
Available extensions

Values

contextMenu → const PlatformInAppBrowserProperty

Can be used to check if the PlatformInAppBrowser.contextMenu property is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView

Use the PlatformInAppBrowser.isPropertySupported method to check if this property is supported at runtime.

findInteractionController → const PlatformInAppBrowserProperty

Can be used to check if the PlatformInAppBrowser.findInteractionController property is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

Use the PlatformInAppBrowser.isPropertySupported method to check if this property is supported at runtime.

id → const PlatformInAppBrowserProperty

Can be used to check if the PlatformInAppBrowser.id property is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Windows WebView2
  • Linux WPE WebKit

Use the PlatformInAppBrowser.isPropertySupported method to check if this property is supported at runtime.

initialUserScripts → const PlatformInAppBrowserProperty

Can be used to check if the PlatformInAppBrowser.initialUserScripts property is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView:
    • This property will be ignored if the PlatformWebViewCreationParams.windowId has been set. There isn't any way to add/remove user scripts specific to iOS window WebViews. This is a limitation of the native WebKit APIs.
  • macOS WKWebView:
    • This property will be ignored if the PlatformWebViewCreationParams.windowId has been set. There isn't any way to add/remove user scripts specific to iOS window WebViews. This is a limitation of the native WebKit APIs.
  • Windows WebView2
  • Linux WPE WebKit

Use the PlatformInAppBrowser.isPropertySupported method to check if this property is supported at runtime.

pullToRefreshController → const PlatformInAppBrowserProperty

Can be used to check if the PlatformInAppBrowser.pullToRefreshController property is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView

Use the PlatformInAppBrowser.isPropertySupported method to check if this property is supported at runtime.

webViewEnvironment → const PlatformInAppBrowserProperty

Can be used to check if the PlatformInAppBrowser.webViewEnvironment property is supported at runtime.

Officially Supported Platforms/Implementations:

  • Windows WebView2

Use the PlatformInAppBrowser.isPropertySupported method to check if this property is supported at runtime.

windowId → const PlatformInAppBrowserProperty

Can be used to check if the PlatformInAppBrowser.windowId property is supported at runtime.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Windows WebView2
  • Linux WPE WebKit

Use the PlatformInAppBrowser.isPropertySupported method to check if this property is supported at runtime.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<PlatformInAppBrowserProperty>
A constant List of the values in this enum, in order of their declaration.