getCellPosition method

double getCellPosition(
  1. int cellindex
)

Implementation

double getCellPosition(int cellindex) {
  double offset = 0;
  for (int i = 0; i < cellindex; i++)
    offset += (widths[i] ?? 0) + (cellpadding[i] ?? 0);
  return offset;
}