LongPressEndDetails class Null safety
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. [...]
read-only, inherited
- localPosition → Offset
-
The local position at which the pointer contacted the screen.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- velocity → Velocity
-
The pointer's velocity when it stopped contacting the screen. [...]
final
Methods
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other ) → bool -
The equality operator. [...]
inherited