LongPressStartDetails class Null safety
Details for callbacks that use GestureLongPressStartCallback.
See also:
- LongPressGestureRecognizer.onLongPressStart, which uses GestureLongPressStartCallback.
- LongPressMoveUpdateDetails, the details for GestureLongPressMoveUpdateCallback
- LongPressEndDetails, the details for GestureLongPressEndCallback.
Constructors
- LongPressStartDetails({Offset globalPosition = Offset.zero, Offset? localPosition})
-
Creates the details for a GestureLongPressStartCallback.
const
Properties
- globalPosition → Offset
-
The global position at which the pointer initially contacted the screen.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- localPosition → Offset
-
The local position at which the pointer initially 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited