getSecondPointerPosition method

dynamic getSecondPointerPosition(
  1. dynamic event
)

Implementation

getSecondPointerPosition(event) {
  var pointer =
      (event.pointerId == pointers[0].pointerId) ? pointers[1] : pointers[0];

  return pointerPositions[pointer.pointerId];
}