handleSecondaryTapDown method Null safety

void handleSecondaryTapDown(
  1. TapDownDetails details
)

Tracks the position of a secondary tap event.

Should be called before attempting to change the selection based on the position of a secondary tap.

Implementation

void handleSecondaryTapDown(TapDownDetails details) {
  _lastTapDownPosition = details.globalPosition;
  _lastSecondaryTapDownPosition = details.globalPosition;
}