UBarcode constructor

const UBarcode({
  1. required String value,
  2. UBarcodeType type = UBarcodeType.qrCode,
  3. Color? barColor,
  4. Color? backgroundColor,
  5. bool showValue = false,
  6. double textSpacing = 15.0,
  7. int? module,
  8. UErrorCorrectionLevel? errorCorrectionLevel,
  9. int? qrCodeVersion,
  10. bool? enableCheckSum,
  11. Key? key,
})

Implementation

const UBarcode({
  required this.value,
  this.type = UBarcodeType.qrCode,
  this.barColor,
  this.backgroundColor,
  this.showValue = false,
  this.textSpacing = 15.0,
  this.module,
  this.errorCorrectionLevel,
  this.qrCodeVersion,
  this.enableCheckSum,
  super.key,
});