resetStateForTesting method

  1. @visibleForTesting
void resetStateForTesting()

Reset state for testing

Implementation

@visibleForTesting
void resetStateForTesting() {
  // _lastUserInteraction = null; // Reserved for future use
  _recentClicks.clear();
  _pointerDownPositions.clear();
  _pointerDownTimes.clear();
  _preTapScreenshotFutures.clear();
}