DragUpdateDetails class Null safety
Details object for callbacks that use GestureDragUpdateCallback.
See also:
- DragGestureRecognizer.onUpdate, which uses GestureDragUpdateCallback.
- DragDownDetails, the details for GestureDragDownCallback.
- DragStartDetails, the details for GestureDragStartCallback.
- DragEndDetails, the details for GestureDragEndCallback.
Constructors
- DragUpdateDetails({Duration? sourceTimeStamp, Offset delta = Offset.zero, double? primaryDelta, required Offset globalPosition, Offset? localPosition})
- Creates details for a DragUpdateDetails. [...]
Properties
- delta → Offset
-
The amount the pointer has moved in the coordinate space of the event
receiver since the previous update. [...]
final
- globalPosition → Offset
-
The pointer's global position when it triggered this update. [...]
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- localPosition → Offset
-
The local position in the coordinate system of the event receiver at
which the pointer contacted the screen. [...]
final
- primaryDelta → double?
-
The amount the pointer has moved along the primary axis in the coordinate
space of the event receiver since the previous
update. [...]
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- sourceTimeStamp → Duration?
-
Recorded timestamp of the source pointer event that triggered the drag
event. [...]
final
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