ReceiptSectionText class
Methods
addImage (String base64 , {int width = 120 , ReceiptAlignment alignment = ReceiptAlignment.center })
→ void
addLeftRightText (String leftText , String rightText , {ReceiptTextStyleType leftStyle = ReceiptTextStyleType.normal , ReceiptTextStyleType rightStyle = ReceiptTextStyleType.normal , ReceiptTextSizeType leftSize = ReceiptTextSizeType.medium , ReceiptTextSizeType rightSize = ReceiptTextSizeType.medium })
→ void
Handler tag of text (span or b) and put inside body html
This will generate left right text with two value input from parameter
leftText
and rightText
addSpacer ({int count = 1 , bool useDashed = false })
→ void
Add new line as empty or dashed line.
count
is how much line
if useDashed
true line will print as dashed line
addText (String text , {ReceiptAlignment alignment = ReceiptAlignment.center , ReceiptTextStyleType style = ReceiptTextStyleType.normal , ReceiptTextSizeType size = ReceiptTextSizeType.medium })
→ void
Handler tag of text (p or b) and put inside body html
This will generate single line text left, center or right
text
value of text will print
alignment
to set alignment of text
style
define normal or bold
size
to set size of text small, medium, large or extra large
addTextTable (ReceiptTextTable receiptTextTable )
→ void
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
blue_print_pos_table 0.0.4