SelectionState<T> class
Represents the current selection state
This includes both regular nodes and special node types (GroupNode, CommentNode).
Use type checks like node is GroupNode to filter by node type.
Constructors
-
SelectionState({required List<
Node< nodes, required List<T> >Connection> connections}) -
const
Properties
-
connections
→ List<
Connection> -
Currently selected connections
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasSelection → bool
-
Whether anything is selected
no setter
-
nodes
→ List<
Node< T> > -
Currently selected nodes (includes GroupNode and CommentNode)
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