printBarcodeWithText method
Future<bool>
printBarcodeWithText(
- String barcodeData,
- String textData, {
- double? x,
- double? y,
- int? barcodeHeight,
- int? textFont,
- double? textScale,
override
Print barcode with text below it in one operation
Implementation
@override
Future<bool> printBarcodeWithText(
String barcodeData,
String textData, {
double? x,
double? y,
int? barcodeHeight,
int? textFont,
double? textScale,
}) async {
final result = await methodChannel.invokeMethod<bool>('printBarcodeWithText', {
'barcodeData': barcodeData,
'textData': textData,
'x': x,
'y': y,
'barcodeHeight': barcodeHeight,
'textFont': textFont,
'textScale': textScale,
});
return result ?? false;
}