ContextMenu constructor
ContextMenu({
- void onCreateContextMenu()?,
- void onHideContextMenu()?,
- @Deprecated("Use settings instead") ContextMenuOptions? options,
- ContextMenuSettings? settings,
- void onContextMenuActionItemClicked()?,
NOTE for Android native WebView: To make it work properly on Android, JavaScript should be enabled!
Officially Supported Platforms/Implementations:
- Android native WebView
- iOS
Implementation
ContextMenu(
{this.menuItems = const [],
this.onCreateContextMenu,
this.onHideContextMenu,
@Deprecated("Use settings instead") this.options,
this.settings,
this.onContextMenuActionItemClicked});