BarcodePainter.fromBytes constructor

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

Implementation

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