barcode method

void barcode(
  1. Barcode barcode, {
  2. int? width,
  3. int? height,
  4. BarcodeFont? font,
  5. BarcodeText textPos = BarcodeText.below,
  6. PosAlign align = PosAlign.center,
})

Implementation

void barcode(
  Barcode barcode, {
  int? width,
  int? height,
  BarcodeFont? font,
  BarcodeText textPos = BarcodeText.below,
  PosAlign align = PosAlign.center,
}) {
  _socket.add(_generator.barcode(
    barcode,
    width: width,
    height: height,
    font: font,
    textPos: textPos,
    align: align,
  ));
}