PlatformHeadlessInAppWebViewMethod enum
List of PlatformHeadlessInAppWebView's methods that can be used to check if they are supported or not by the current platform.
Values
- dispose → const PlatformHeadlessInAppWebViewMethod
-
Can be used to check if the PlatformHeadlessInAppWebView.dispose method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Web <iframe>
- Windows WebView2
- Linux WPE WebKit
Use the PlatformHeadlessInAppWebView.isMethodSupported method to check if this method is supported at runtime.
- getSize → const PlatformHeadlessInAppWebViewMethod
-
Can be used to check if the PlatformHeadlessInAppWebView.getSize method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Web <iframe>
- Linux WPE WebKit
Use the PlatformHeadlessInAppWebView.isMethodSupported method to check if this method is supported at runtime.
- isRunning → const PlatformHeadlessInAppWebViewMethod
-
Can be used to check if the PlatformHeadlessInAppWebView.isRunning method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Web <iframe>
- Windows WebView2
- Linux WPE WebKit
Use the PlatformHeadlessInAppWebView.isMethodSupported method to check if this method is supported at runtime.
- run → const PlatformHeadlessInAppWebViewMethod
-
Can be used to check if the PlatformHeadlessInAppWebView.run method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Web <iframe>:
- It will append a new
iframeto the body.
- It will append a new
- Windows WebView2
- Linux WPE WebKit
Use the PlatformHeadlessInAppWebView.isMethodSupported method to check if this method is supported at runtime.
- setSize → const PlatformHeadlessInAppWebViewMethod
-
Can be used to check if the PlatformHeadlessInAppWebView.setSize method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView:
Sizewidth and height values will be converted tointvalues because they cannot havedoublevalues.
- iOS WKWebView
- macOS WKWebView
- Web <iframe>
- Linux WPE WebKit
Parameters - Officially Supported Platforms/Implementations:
size: all platforms
Use the PlatformHeadlessInAppWebView.isMethodSupported method to check if this method is supported at runtime.
- Android WebView:
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<
PlatformHeadlessInAppWebViewMethod> - A constant List of the values in this enum, in order of their declaration.