recordPaint static method
Implementation
static void recordPaint({
required bool repainted,
required CellRect? copiedBounds,
}) {
if (!_enabled || _suppressDepth > 0) return;
_boundaryCount += 1;
if (repainted) {
_repaintedCount += 1;
} else {
_cachedCount += 1;
}
if (copiedBounds == null) {
_emptyCount += 1;
} else {
_copiedCellCount += copiedBounds.size.cols * copiedBounds.size.rows;
}
}