Dart Documentationchrome.contextMenusOnClickedEvent

OnClickedEvent class

Fired when a context menu item is clicked.

class OnClickedEvent {
 /**
  * Information about the item clicked and the context where the click
  * happened.
  */
 final OnClickData info;

 /**
  * The details of the tab where the click took place. If the click did not
  * take place in a tab, this parameter will be missing.
  * `optional`
  * 
  * The details of the tab where the click took place. If the click did not
  * take place in a tab, this parameter will be missing.
  */
 final Tab tab;

 OnClickedEvent(this.info, this.tab);
}

Constructors

new OnClickedEvent(OnClickData info, Tab tab) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
OnClickedEvent(this.info, this.tab);

Properties

final OnClickData info #

Information about the item clicked and the context where the click happened.

final OnClickData info

final Tab tab #

The details of the tab where the click took place. If the click did not take place in a tab, this parameter will be missing. optional

The details of the tab where the click took place. If the click did not take place in a tab, this parameter will be missing.

final Tab tab