printImage static method
Prints an image with a specified alignment.
image
: The image data as Uint8List.
align
: The alignment for the image (e.g., left, center, right).
Returns a String indicating the result of the print operation, or null
.
Implementation
static Future<String?> printImage(Uint8List image,
{SunmiPrintAlign align = SunmiPrintAlign.LEFT}) async {
return await SunmiPrinterPlusPlatform.instance.printImage(image, align);
}