DragDownDetails class
Details object for callbacks that use GestureDragDownCallback.
See also:
- DragGestureRecognizer.onDown, which uses GestureDragDownCallback.
- DragStartDetails, the details for GestureDragStartCallback.
- DragUpdateDetails, the details for GestureDragUpdateCallback.
- DragEndDetails, the details for GestureDragEndCallback.
Constructors
- DragDownDetails({Offset globalPosition = Offset.zero, Offset? localPosition})
- Creates details for a GestureDragDownCallback.
Properties
- globalPosition → Offset
-
The global position at which the pointer contacted the screen.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- localPosition → Offset
-
The local position in the coordinate system of the event receiver at
which the pointer contacted the screen.
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