lcdImage method

Future<String?> lcdImage({
  1. required Uint8List image,
})

Displays an image on the LCD screen.

image: The image data as Uint8List.

Returns a String indicating the result or null if unsuccessful.

Implementation

Future<String?> lcdImage({required Uint8List image}) async {
  return await SunmiLcd.sendImageLCD(image: image);
}