TapDownDetails class Null safety

Details for GestureTapDownCallback, such as position.

See also:

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.
read-onlyinherited
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-onlyinherited

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