OnClickData class

Constructors

OnClickData({required Object menuItemId, Object? parentMenuItemId, String? mediaType, String? linkUrl, String? srcUrl, String? pageUrl, String? frameUrl, int? frameId, String? selectionText, required bool editable, bool? wasChecked, bool? checked})
OnClickData.fromJS(OnClickData _wrapped)

Properties

checked bool?
A flag indicating the state of a checkbox or radio item after it is clicked.
getter/setter pair
editable bool
A flag indicating whether the element is editable (text input, textarea, etc.).
getter/setter pair
frameId int?
The ID of the frame of the element where the context menu was clicked, if it was in a frame.
getter/setter pair
frameUrl String?
The URL of the frame of the element where the context menu was clicked, if it was in a frame.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
linkUrl String?
If the element is a link, the URL it points to.
getter/setter pair
mediaType String?
One of 'image', 'video', or 'audio' if the context menu was activated on one of these types of elements.
getter/setter pair
The ID of the menu item that was clicked.
getter/setter pair
pageUrl String?
The URL of the page where the menu item was clicked. This property is not set if the click occured in a context where there is no current page, such as in a launcher context menu.
getter/setter pair
parentMenuItemId Object?
The parent ID, if any, for the item clicked.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectionText String?
The text for the context selection, if any.
getter/setter pair
srcUrl String?
Will be present for elements with a 'src' URL.
getter/setter pair
toJS → OnClickData
no setter
wasChecked bool?
A flag indicating the state of a checkbox or radio item before it was clicked.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited