execute abstract method

bool execute(
  1. NodeFlowController<T> controller,
  2. BuildContext? context
)

Executes the action's operation.

Called when the action is triggered via keyboard shortcut, menu, or programmatically. Should perform the intended operation and return whether it succeeded.

Parameters:

  • controller: The node flow controller to operate on
  • context: Optional build context for showing dialogs/snackbars

Returns: true if the action was successfully executed, false otherwise

Implementation

bool execute(NodeFlowController<T> controller, BuildContext? context);