BarcodeMatrix constructor

BarcodeMatrix(
  1. int _height,
  2. int width
)

@param height the height of the matrix (Rows) @param width the width of the matrix (Cols)

Implementation

BarcodeMatrix(this._height, int width)
    : _width = width * 17,
      _matrix =
          List.generate(_height, (index) => BarcodeRow((width + 4) * 17 + 1));