BufferLine constructor

BufferLine(
  1. int _length, {
  2. bool isWrapped = false,
})

Creates an empty line of _length cells.

Implementation

BufferLine(this._length, {this.isWrapped = false})
  : _data = Uint32List(_calcCapacity(_length) * _cellSize);