contextMenu property

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform()])
ContextMenu? get contextMenu

Context menu which contains custom menu items to be shown when ContextMenu is presented.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView

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

Implementation

@SupportedPlatforms(platforms: [AndroidPlatform(), IOSPlatform()])
ContextMenu? get contextMenu => params.contextMenu;