ReceiptText constructor
ReceiptText(
- String text, {
- ReceiptTextStyle textStyle = const ReceiptTextStyle(type: ReceiptTextStyleType.normal, size: ReceiptTextSizeType.medium),
- ReceiptAlignment alignment = ReceiptAlignment.center,
- ReceiptColumn column = ReceiptColumn.one,
- 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
});