setContextMenu method

Future<void> setContextMenu(
  1. ContextMenu? contextMenu
)

Sets or updates the WebView context menu to be used next time it will appear.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS

Implementation

Future<void> setContextMenu(ContextMenu? contextMenu) {
  throw UnimplementedError(
      'setContextMenu is not implemented on the current platform');
}