sendTextLCD method

Future<String?> sendTextLCD({
  1. required String text,
  2. required int size,
  3. required bool fill,
})

Sends text to be displayed on the LCD screen.

text: The text to display on the LCD. size: The size of the text. fill: Whether the text should fill the screen.

Returns a String indicating the result or null if unsuccessful.

Implementation

Future<String?> sendTextLCD(
    {required String text, required int size, required bool fill}) async {
  return await SunmiLcd.lcdString(text, size: size, fill: fill);
}