DropEventDetails class
Position details delivered to DropTarget hover callbacks
(desktop_drop 0.8.x parity).
- Annotations
Constructors
- DropEventDetails({required Offset localPosition, required Offset globalPosition})
-
Creates DropEventDetails with widget-local and window-global positions.
const
Properties
- globalPosition → Offset
-
Cursor position in the Flutter view's top-left logical coordinate space.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- localPosition → Offset
-
Cursor position in the receiving
DropTargetwidget's local coordinate space.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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited