LongPressEndDetails class
Details for callbacks that use GestureLongPressEndCallback.
See also:
- LongPressGestureRecognizer.onLongPressEnd, which uses GestureLongPressEndCallback.
- LongPressMoveUpdateDetails, the details for GestureLongPressMoveUpdateCallback.
- LongPressStartDetails, the details for GestureLongPressStartCallback.
Constructors
- LongPressEndDetails({Offset globalPosition = Offset.zero, Offset? localPosition, Velocity velocity = Velocity.zero})
-
Creates the details for a GestureLongPressEndCallback.
const
Properties
- globalPosition → Offset
-
The global position at which the pointer lifted from the screen.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- localPosition → Offset
-
The local position at which the pointer contacted the screen.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- velocity → Velocity
-
The pointer's velocity when it stopped contacting the screen.
final
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