DragDownDetails class Null safety
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.
read-onlyinherited
- 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.
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited