BrailleCanvas constructor

BrailleCanvas(
  1. int cellWidth,
  2. int cellHeight
)

Implementation

BrailleCanvas(this.cellWidth, this.cellHeight)
  : _dots = List<List<UvStyle?>>.generate(
      cellHeight * 4,
      (_) => List<UvStyle?>.filled(cellWidth * 2, null),
    );