SerialTapDownDetails class Null safety
Details for GestureSerialTapDownCallback, such as the tap count within the series.
See also:
- SerialTapGestureRecognizer, which passes this information to its SerialTapGestureRecognizer.onSerialTapDown callback.
Constructors
- SerialTapDownDetails({Offset globalPosition = Offset.zero, Offset? localPosition, required PointerDeviceKind kind, int buttons = 0, int count = 1})
- Creates details for a GestureSerialTapDownCallback.
Properties
-
Which buttons were pressed when the pointer contacted the screen.
final
- count → int
-
The number of consecutive taps that this "tap down" represents.
final
- 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