PerformableAction class

An action which can be performed.

Constructors

PerformableAction({required String name, required SingleActivator activator, required VoidCallback invoke})
Create an instance.
const

Properties

activator SingleActivator
The key to use to perform this action.
final
hashCode int
The hash code for this object.
no setterinherited
invoke VoidCallback
The function to call when this action is performed.
final
name String
The name of this action.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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