count property Null safety

int count
final

The number of consecutive taps that this tap represents.

This value will always be greater than zero. When the first pointer in a possible series completes its tap, 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.

Implementation

final int count;