DragTargetDetails<T> class

Represents the details when a pointer event occurred on the DragTarget.

Constructors

DragTargetDetails({required T data, required Offset offset})
Creates details for a DragTarget callback.

Properties

data → T
The data that was dropped onto this DragTarget.
final
hashCode int
The hash code for this object.
no setterinherited
offset Offset
The global position when the specific pointer event occurred on the draggable.
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