NodeFlowCallbacks<T> class

Callback functions that the NodeFlowController can invoke for lifecycle events

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
onAnnotationCreated ValueChanged<Annotation>?
final
onAnnotationDeleted ValueChanged<Annotation>?
final
onAnnotationSelected ValueChanged<Annotation?>?
final
onConnectionCreated ValueChanged<Connection>?
final
onConnectionDeleted ValueChanged<Connection>?
final
onConnectionSelected ValueChanged<Connection?>?
final
onNodeCreated ValueChanged<Node<T>>?
final
onNodeDeleted ValueChanged<Node<T>>?
final
onNodeSelected ValueChanged<Node<T>?>?
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, ValueChanged<Annotation>? onAnnotationCreated, ValueChanged<Annotation>? onAnnotationDeleted, ValueChanged<Annotation?>? onAnnotationSelected}) 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