SunmiLcd class
A utility class for controlling the Sunmi printer's LCD screen.
Provides methods for configuring the LCD, displaying text, showing digital values, and sending images to the LCD.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
configLCD(
{required SunmiLCDStatus status}) → Future< String?> - Configures the LCD screen with a specific status.
-
lcdString(
String text, {required int size, required bool fill}) → Future< String?> - Sends a text string to the LCD screen.
-
sendImageLCD(
{required Uint8List image}) → Future< String?> - Sends an image to the LCD screen.
-
showDigital(
String digital) → Future< String?> - Displays a digital number on the LCD screen.