maxWidth method

int maxWidth()

Return the actual largest width of all rows

Implementation

int maxWidth() {
  var maxW = 0;
  for (var row = 0; row < rows; row++) {
    final entry = partialProducts[row];
    if (entry.length + rowShift[row] > maxW) {
      maxW = entry.length + rowShift[row];
    }
  }
  return maxW;
}