ContextMenu constructor

ContextMenu({
  1. List<ContextMenuItem> menuItems = const [],
  2. void onCreateContextMenu(
    1. dynamic hitTestResult
    )?,
  3. void onHideContextMenu()?,
  4. ContextMenuOptions? options,
  5. void onContextMenuActionItemClicked(
    1. ContextMenuItem contextMenuItemClicked
    )?,
})

Implementation

ContextMenu(
    {this.menuItems = const [],
    this.onCreateContextMenu,
    this.onHideContextMenu,
    this.options,
    this.onContextMenuActionItemClicked});