printQrCode method
printQrCode will print QR code and you can set width and height. default width is 300 default height is 300 success result is 0.
Implementation
Future<int?> printQrCode(String text, {int? width, int? height}) {
return NyxPrinterPlatform.instance
.printQrCode(text, width ?? 300, height ?? 300);
}