printQRCode method

  1. @override
Future<bool?> printQRCode({
  1. required String text,
  2. int width = 100,
  3. int height = 100,
})
override

Implementation

@override
Future<bool?> printQRCode(
    {required String text, int width = 100, int height = 100}) async {
  return await methodChannel.invokeMethod<bool>('printQrCode', {
    'text': text,
    "width": width,
    "height": height,
  });
}