printQrCode method

Future<int?> printQrCode(
  1. String text,
  2. int width,
  3. int height
)

Prints a QR code with the specified data and dimensions.

text The data to encode in the QR code. width The width of the QR code. height The height of the QR code.

Returns an int representing the result of the print operation, or null if it fails.

Implementation

Future<int?> printQrCode(String text, int width, int height) {
  return instance.printQrCode(text, width, height);
}