CarpenterTreeDropDetails<T> class final

Annotations

Constructors

CarpenterTreeDropDetails({required CarpenterTreeNode<T> dragged, required CarpenterTreeNode<T> target, required CarpenterDropPosition position, required CarpenterDragOperation operation, List<CarpenterTreeNode<T>> draggedNodes = const []})
Creates immutable details for one tree drop operation.
const

Properties

dragged → CarpenterTreeNode<T>
final
draggedNodes → List<CarpenterTreeNode<T>>
Full drag selection when the gesture started from a selected row. Empty means the legacy single dragged node only.
final
effectiveDraggedNodes → List<CarpenterTreeNode<T>>
Nodes participating in the drop, falling back to dragged for legacy use.
no setter
hashCode → int
The hash code for this object.
no setterinherited
operation → CarpenterDragOperation
final
position → CarpenterDropPosition
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
target → CarpenterTreeNode<T>
final

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