BarcodePainter constructor

const BarcodePainter(
  1. String? _dataString,
  2. CodeType barcode,
  3. Color color,
  4. bool drawText,
  5. TextStyle? style,
  6. double textPadding, {
  7. Key? key,
})

Create a Barcode renderer

Implementation

const BarcodePainter(
  this._dataString,
  this.barcode,
  this.color,
  this.drawText,
  this.style,
  this.textPadding, {
  Key? key,
})  : _dataBytes = null,
      super(key: key);