takeFrameStats static method
Implementation
static RepaintBoundaryFrameStats takeFrameStats() {
if (!_enabled) return RepaintBoundaryFrameStats.empty;
final stats = RepaintBoundaryFrameStats(
boundaryCount: _boundaryCount,
repaintedCount: _repaintedCount,
cachedCount: _cachedCount,
emptyCount: _emptyCount,
copiedCellCount: _copiedCellCount,
);
_resetCounters();
return stats;
}