CrossGridProbe enum

How the coordinator decides which grid is under a cross-grid drag.

Inheritance
Available extensions

Values

pointer → const CrossGridProbe

The raw pointer position decides.

Predictable relative to the cursor, but when the tile is grabbed far from its center, its body can visually overlap (and push) a nested-grid host before the pointer itself reaches it.

itemCenter → const CrossGridProbe

The center of the dragged tile decides.

TARGET DETECTION and nest-hover follow the tile's visual center instead of the cursor, so which grid and which host are resolved no longer depends on where the tile was grabbed. Placeholder PLACEMENT is unaffected by this choice: it always anchors on the tile's own grab fraction, so the preview sits under the floating proxy in both modes.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<CrossGridProbe>
A constant List of the values in this enum, in order of their declaration.