PlatformInAppBrowserMethod enum
List of PlatformInAppBrowser's methods that can be used to check if they are supported or not by the current platform.
Values
- addMenuItem → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.addMenuItem method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView 14.0+
- macOS WKWebView 10.15+
Parameters - Officially Supported Platforms/Implementations:
menuItem: all platforms
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
- addMenuItems → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.addMenuItems method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView 14.0+
- macOS WKWebView 10.15+
Parameters - Officially Supported Platforms/Implementations:
menuItems: all platforms
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
- close → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.close method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
- Linux WPE WebKit
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
- dispose → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.dispose method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
- Linux WPE WebKit
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
- getOptions → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.getOptions method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
- getSettings → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.getSettings method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
- Linux WPE WebKit
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
- hasMenuItem → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.hasMenuItem method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView 14.0+
- macOS WKWebView 10.15+
Parameters - Officially Supported Platforms/Implementations:
menuItem: all platforms
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
- hide → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.hide method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
- Linux WPE WebKit
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
- isHidden → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.isHidden method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
- Linux WPE WebKit
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
- isOpened → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.isOpened method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
- Linux WPE WebKit
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
- openData → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.openData method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
- Linux WPE WebKit
Parameters - Officially Supported Platforms/Implementations:
data: all platformsmimeType: all platformsencoding: all platformsbaseUrl: all platformshistoryUrl: all platformssettings: all platforms
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
- openFile → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.openFile method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
- Linux WPE WebKit
Parameters - Officially Supported Platforms/Implementations:
assetFilePath: all platformssettings: all platforms
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
- openUrlRequest → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.openUrlRequest method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
- Linux WPE WebKit
Parameters - Officially Supported Platforms/Implementations:
urlRequest: all platformssettings: all platforms
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
- openWithSystemBrowser → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.openWithSystemBrowser method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
- Linux WPE WebKit
Parameters - Officially Supported Platforms/Implementations:
url: all platforms
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
- removeAllMenuItem → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.removeAllMenuItem method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView 14.0+
- macOS WKWebView 10.15+
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
- removeMenuItem → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.removeMenuItem method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView 14.0+
- macOS WKWebView 10.15+
Parameters - Officially Supported Platforms/Implementations:
menuItem: all platforms
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
- removeMenuItems → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.removeMenuItems method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView 14.0+
- macOS WKWebView 10.15+
Parameters - Officially Supported Platforms/Implementations:
menuItems: all platforms
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
- setOptions → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.setOptions method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
Parameters - Officially Supported Platforms/Implementations:
options: all platforms
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
- setSettings → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.setSettings method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
- Linux WPE WebKit
Parameters - Officially Supported Platforms/Implementations:
settings: all platforms
Use the PlatformInAppBrowser.isMethodSupported method to check if this method is supported at runtime.
- show → const PlatformInAppBrowserMethod
-
Can be used to check if the PlatformInAppBrowser.show method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
- Linux WPE WebKit
Use the PlatformInAppBrowser.isMethodSupported method to check if this method 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<
PlatformInAppBrowserMethod> - A constant List of the values in this enum, in order of their declaration.