NodeFlowCallbacks<T> class

Callback functions that the NodeFlowController can invoke for lifecycle events.

Note: GroupNode and CommentNode lifecycle events are handled through the node callbacks since they are now regular nodes. Use type checks like node is GroupNode or node is CommentNode to filter by node type.

Constructors

NodeFlowCallbacks({ValueChanged<Node<T>>? onNodeCreated, ValueChanged<Node<T>>? onNodeDeleted, ValueChanged<Node<T>?>? onNodeSelected, ValueChanged<Connection>? onConnectionCreated, ValueChanged<Connection>? onConnectionDeleted, ValueChanged<Connection?>? onConnectionSelected})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
onConnectionCreated ValueChanged<Connection>?
final
onConnectionDeleted ValueChanged<Connection>?
final
onConnectionSelected ValueChanged<Connection?>?
final
onNodeCreated ValueChanged<Node<T>>?
Called when a node is created (includes GroupNode and CommentNode)
final
onNodeDeleted ValueChanged<Node<T>>?
Called when a node is deleted (includes GroupNode and CommentNode)
final
onNodeSelected ValueChanged<Node<T>?>?
Called when node selection changes (includes GroupNode and CommentNode)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({ValueChanged<Node<T>>? onNodeCreated, ValueChanged<Node<T>>? onNodeDeleted, ValueChanged<Node<T>?>? onNodeSelected, ValueChanged<Connection>? onConnectionCreated, ValueChanged<Connection>? onConnectionDeleted, ValueChanged<Connection?>? onConnectionSelected}) NodeFlowCallbacks<T>
Create a new callbacks object with updated values
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