barcode method

void barcode(
  1. String fieldName,
  2. double x,
  3. double y,
  4. double width,
  5. double height,
)

Implementation

void barcode(
  String fieldName,
  double x,
  double y,
  double width,
  double height,
) {
  _add(ReportElementType.barcode, x, y, width, height, {
    'fieldName': fieldName,
    'barcodeType': 'code128',
    'showText': true,
  });
}