availableColumnsLeft method

int availableColumnsLeft(
  1. int row
)

Implementation

int availableColumnsLeft(int row) {
  var cellsInRow = _cellsInRowLeftToRight(row);
  if (cellsInRow.isEmpty) {
    return dimensions.numberOfColumns;
  } else {
    return cellsInRow.first.leftColumn - 1;
  }
}