removeAllMenuItem method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(available: '14.0'), MacOSPlatform(available: '10.15')])
Removes all the menu items from the list. If the browser is already open, it will take effect the next time it is opened.
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.
Implementation
@SupportedPlatforms(
platforms: [
AndroidPlatform(),
IOSPlatform(available: '14.0'),
MacOSPlatform(available: '10.15'),
],
)
void removeAllMenuItem() {
throw UnimplementedError(
'removeAllMenuItem is not implemented on the current platform',
);
}