cellSetWidth method

void cellSetWidth(
  1. int index,
  2. int width
)
override

Implementation

void cellSetWidth(int index, int width) {
  final offset = index * _cellSize + _cellAttributes;
  var result = _cells[offset];
  result |= 0xFF << _cellWidth;
  result &= width << _cellWidth;
  _cells[offset] = result;
}