updateCellHeight method
Rebuilds the pixel accumulator when cell metrics change (font zoom). Sub-line ScrollAccumulator.remainderPx is intentionally discarded.
Implementation
void updateCellHeight(double cellHeight) {
_cancelPendingProgram();
_accumulator = ScrollAccumulator(cellHeight: cellHeight);
_historyWheelAccumulator = ScrollAccumulator(cellHeight: cellHeight);
}