PosRow constructor

const PosRow(
  1. List<PosColumn> columns
)

Creates ESC/POS commands for printing a row.

A row contains up to 12 columns. A column has a width between 1 and 12. Total width of columns in one row must be equal 12.

Implementation

const factory PosRow(
  List<PosColumn> columns,
) = _PosRow;