Action class

Constructors

Action({required String name, required String label, required String tooltipText, Map? icon})
Action.fromJS(Action _wrapped)

Properties

hashCode → int
The hash code for this object.
no setterinherited
icon ↔ Map?
The icon shown in the action button on the leading side of the action label. The icon must be specified as an imageData object. The size should not be more than 160 px wide and tall.
getter/setter pair
label ↔ String
The action button label.
getter/setter pair
name ↔ String
The string sent to the extension in the event corresponding to the user clicking on the action.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toJS → Action
no setter
tooltipText ↔ String
The action button hover tooltip text.
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