addImage method
void
addImage(
- String base64, {
- int width = 120,
- ReceiptAlignment alignment = ReceiptAlignment.center,
Implementation
void addImage(
String base64, {
int width = 120,
ReceiptAlignment alignment = ReceiptAlignment.center,
}) {
final ReceiptImage image = ReceiptImage(
base64,
width: width,
alignment: alignment,
);
_data += image.html;
}