ColumnMaker constructor

ColumnMaker({
  1. String text = '',
  2. int width = 0,
  3. Object align = sunmi_enums.SunmiPrintAlign.LEFT,
})

Implementation

ColumnMaker({this.text = '', this.width = 0, this.align = sunmi_enums.SunmiPrintAlign.LEFT}) {
  try {
    // This constructor creates a ColumnMaker that wraps the sunmi_column.ColumnMaker
    // The actual ColumnMaker is created when this is used in printRow
  } catch (e) {
    throw Exception('Error creating column maker: $e');
  }
}