pointerCount property

int pointerCount

The number of pointers being tracked by the gesture recognizer.

Typically this is the number of fingers being used to pan the widget using the gesture recognizer.

Implementation

int get pointerCount {
  // PointerPanZoom protocol doesn't contain the exact number of pointers
  // used on the trackpad, as it isn't exposed by all platforms. However, it
  // will always be at least two.
  return (2 * _pointerPanZooms.length) + _pointerQueue.length;
}