TapDownDetails class
Details for GestureTapDownCallback, such as position.
See also:
- GestureDetector.onTapDown, which receives this information.
- TapGestureRecognizer, which passes this information to one of its callbacks.
Constructors
- TapDownDetails({Offset globalPosition = Offset.zero, Offset? localPosition, PointerDeviceKind? kind})
- Creates details for a GestureTapDownCallback.
Properties
- globalPosition → Offset
-
The global position at which the pointer contacted the screen.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
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