NodeFlowActionIntent<T> class

An Intent representing a NodeFlow action to be executed.

This intent carries information about which action should be executed and provides optional context for the action. It's used as part of Flutter's actions and shortcuts system to trigger NodeFlow actions.

Each intent instance is uniquely identified by its actionId, allowing multiple different actions to be registered in Flutter's actions system.

Example usage:

final intent = NodeFlowActionIntent(
  actionId: 'delete_selection',
  context: context,
);

See also:

Inheritance

Constructors

NodeFlowActionIntent({required String actionId, BuildContext? context})
Creates an intent for a NodeFlow action.
const

Properties

actionId String
The unique identifier of the action to execute.
final
context BuildContext?
Optional build context that may be needed by some actions.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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