printBarCode method
Future<void>
printBarCode(
- String code,
- BarCodeType type,
- int width,
- int height,
- int hriPos,
override
Implementation
@override
Future<void> printBarCode(
String code, BarCodeType type, int width, int height, int hriPos) async {
await methodChannel.invokeMethod<void>('printBarCode', <String, dynamic>{
'code': code,
'type': type.index, // Convert to int
'width': width,
'height': height,
'hriPos': hriPos,
});
}