debugFindRowFullScan method

  1. @visibleForTesting
({double extent, TKey key, double paintedOffset})? debugFindRowFullScan(
  1. double scrollY
)

Test-only oracle access to _findRowFullScan, so equivalence tests can compare the bounded scan's routing result against the exact full-scan answer for the same scrollY with zero drift risk.

Implementation

@visibleForTesting
({TKey key, double paintedOffset, double extent})? debugFindRowFullScan(
  double scrollY,
) {
  final visible = controller.visibleNodes;
  if (visible.isEmpty) {
    return null;
  }
  return _findRowFullScan(scrollY, visible);
}