setWidth method

void setWidth(
  1. int index,
  2. int width
)

Implementation

void setWidth(int index, int width) {
  final offset = index * _cellSize + _cellContent;
  _data[offset] = (_data[offset] & CellContent.codepointMask) |
      (width << CellContent.widthShift);
}