TreeDropDetails class

A pending or completed drag-and-drop, passed to Tree.onDrop and Tree.allowDrop.

Annotations

Constructors

TreeDropDetails({required String dragKey, required String dropKey, required TreeDropPosition position})
Creates a TreeDropDetails.
const

Properties

dragKey → String
The key of the node being dragged.
final
dropKey → String
The key of the node it is being dropped onto.
final
hashCode → int
The hash code for this object.
no setterinherited
position → TreeDropPosition
Where it lands relative to dropKey.
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