paint method
渲染
Implementation
@override
paint(PrinterCanvas canvas, PrinterOffset offset) {
var value = this.getValue(dataSource);
if (value == null) {
return;
}
if (imagePaint) {
canvas.drawQRCodeBitmap(value, offset + this.actualOffset!, actualSize!, ecc);
} else {
canvas.drawQRCode(value, offset + this.actualOffset!, actualSize!, ecc);
}
}