updateCellHeight method
Rebuilds the pixel accumulator when cell metrics change (font zoom). Sub-line ScrollAccumulator.remainderPx is intentionally discarded. Also resets TUI wheel carry so pending rows are not applied in stale cell-height units.
Implementation
void updateCellHeight(double cellHeight) {
_cancelPendingProgram();
_flushPendingTrackpadWheel();
_accumulator = ScrollAccumulator(cellHeight: cellHeight);
_historyWheelAccumulator = ScrollAccumulator(cellHeight: cellHeight);
_tuiDistance = TuiWheelDistanceState();
}