drawBarcode method
Future<void>
drawBarcode(
- int x,
- int y,
- XprinterBarCodeType type,
- int height,
- String data, {
- bool vertical = false,
- int? width,
- XprinterBarcodeRatio? ratio,
override
Implementation
@override
Future<void> drawBarcode(int x, int y, XprinterBarCodeType type, int height, String data, {bool vertical = false, int? width, XprinterBarcodeRatio? ratio}) {
return methodChannel.invokeMethod<void>('drawBarcode', {'x': x, 'y': y, 'type': type.value, 'height': height, 'data': data, 'vertical': vertical, 'width': width, 'ratio': ratio?.value});
}