printBarCode method
Future<GertecResponse>
printBarCode({
- int width = 200,
- int height = 60,
- required String text,
- PrintAlign align = PrintAlign.LEFT,
Implementation
Future<GertecResponse> printBarCode(
{int width = 200,
int height = 60,
required String text,
PrintAlign align = PrintAlign.LEFT}) async {
return GertecResponse.fromJson(await GertecPrinterPlatform.instance
.printBarCode(
width: width, height: height, text: text, align: align.value) ??
'{}');
}