indexByColumnRow static method

CellIndex indexByColumnRow({
  1. int? columnIndex,
  2. int? rowIndex,
})
CellIndex.indexByColumnRow(columnIndex: 0, rowIndex: 0 ); // A1
CellIndex.indexByColumnRow(columnIndex: 0, rowIndex: 1 ); // A2

Implementation

static CellIndex indexByColumnRow({int? columnIndex, int? rowIndex}) {
  assert(columnIndex != null && rowIndex != null);
  return CellIndex._(col: columnIndex!, row: rowIndex!);
}