LongPressDownDetails class Null safety
Details for callbacks that use GestureLongPressDownCallback.
See also:
- LongPressGestureRecognizer.onLongPressDown, whose callback passes these details.
- LongPressGestureRecognizer.onSecondaryLongPressDown, whose callback passes these details.
- LongPressGestureRecognizer.onTertiaryLongPressDown, whose callback passes these details.
Constructors
- LongPressDownDetails({Offset globalPosition = Offset.zero, Offset? localPosition, PointerDeviceKind? kind})
-
Creates the details for a GestureLongPressDownCallback. [...]
const
Properties
- globalPosition → Offset
-
The global position at which the pointer contacted the screen.
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- kind → PointerDeviceKind?
-
The kind of the device that initiated the event.
final
- 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
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