LongPressStartDetails class
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.
no setterinherited
- 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.
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited