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. [...]
read-only, inherited
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-only, inherited

Methods

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

Operators

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