DragTargetDetails<T> class Null safety

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.
read-onlyinherited
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.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited