ReceiptText constructor

ReceiptText(
  1. String text, {
  2. ReceiptTextStyle textStyle = const ReceiptTextStyle(type: ReceiptTextStyleType.normal, size: ReceiptTextSizeType.medium),
  3. ReceiptAlignment alignment = ReceiptAlignment.center,
  4. ReceiptColumn column = ReceiptColumn.one,
  5. bool isMargin = false,
})

Implementation

ReceiptText(
  this.text, {
  this.textStyle = const ReceiptTextStyle(
    type: ReceiptTextStyleType.normal,
    size: ReceiptTextSizeType.medium,
  ),
  this.alignment = ReceiptAlignment.center,
  this.column = ReceiptColumn.one,
  this.isMargin = false
});