drawBitmap method
打印图片
context
内容
offset
偏移位置
bytes
位图内容, true:代表黑色 false:代表白色 二维数组 第一维纵 第二维横
Implementation
@override
drawBitmap(PrinterOffset offset, PrinterSize size, List<List<bool>> bytes) {
return _canvas.drawBitmap(offset, size, bytes);
}