printText static method

Future<bool> printText(
  1. String text
)

Print plain text.

Sends text directly to the printer without formatting.

  • text: The text to print

Returns true if printing was successful.

Implementation

static Future<bool> printText(String text) async {
  return await PrinterCore.printText(text);
}