LongPressMoveUpdateDetails class Null safety
Details for callbacks that use GestureLongPressMoveUpdateCallback.
See also:
- LongPressGestureRecognizer.onLongPressMoveUpdate, which uses GestureLongPressMoveUpdateCallback.
- LongPressEndDetails, the details for GestureLongPressEndCallback
- LongPressStartDetails, the details for GestureLongPressStartCallback.
Constructors
- LongPressMoveUpdateDetails({Offset globalPosition = Offset.zero, Offset? localPosition, Offset offsetFromOrigin = Offset.zero, Offset? localOffsetFromOrigin})
-
Creates the details for a GestureLongPressMoveUpdateCallback.
const
Properties
- globalPosition → Offset
-
The global position of the pointer when it triggered this update.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- localOffsetFromOrigin → Offset
-
A local delta offset from the point where the long press drag initially contacted
the screen to the point where the pointer is currently located (the
present localPosition) when this callback is triggered.
final
- localPosition → Offset
-
The local position of the pointer when it triggered this update.
final
- offsetFromOrigin → Offset
-
A delta offset from the point where the long press drag initially contacted
the screen to the point where the pointer is currently located (the
present globalPosition) when this callback is triggered.
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited