count property Null safety

int count

The number of consecutive taps that this "tap down" represents.

This value will always be greater than zero. When the first pointer in a possible series contacts the screen, this value will be 1, the second tap in a double-tap will be 2, and so on.

If a tap is determined to not be in the same series as the tap that preceded it (e.g. because too much time elapsed between the two taps or the two taps had too much distance between them), then this count will reset back to 1, and a new series will have begun.


final int count;