addSpacer method

void addSpacer({
  1. int count = 1,
  2. bool useDashed = false,
})

Add new line as empty or dashed line. count is how much line if useDashed true line will print as dashed line

Implementation

void addSpacer({int count = 1, bool useDashed = false}) {
  final ReceiptLine line = ReceiptLine(count: count, useDashed: useDashed);
  _data += line.html;
}