SortableMultiScopeData class final

Immutable data exposed by SortableMultiScope.

Constructors

SortableMultiScopeData({required Iterable<SortableContainer> containers, required SortableMoveCallback onMove, SortableMultiMoveResolver? moveResolver, SortableMultiInsertionStrategy crossContainerInsertion = SortableMultiInsertionStrategy.adaptive})
Creates multi-container scope data.

Properties

containers List<SortableContainer>
The application-owned container order and membership.
final
crossContainerInsertion SortableMultiInsertionStrategy
How cross-container drops resolve around an over-item target.
final
hashCode int
The hash code for this object.
no setteroverride
moveResolver SortableMultiMoveResolver?
Optional override hook for move-intent resolution.
final
onMove SortableMoveCallback
Called when the library resolves a move intent.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

containerById(DndId containerId) SortableContainer?
Returns the current container for containerId, or null when unknown.
moveDetailsFor(DndDragEndEvent event, {required SortableMultiContainerAreaData container, Map<DndId, DndRect> itemRects = const <DndId, DndRect>{}, DndRect? activeRect}) SortableMoveDetails?
Builds move intent details for event from the current controller state.
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.
override