QRCodeComponent constructor

QRCodeComponent({
  1. bool allowEmptyString = false,
  2. dynamic elementType = 'canvas',
  3. Color colorDark = Colors.black,
  4. Color colorLight = Colors.white,
  5. String? cssClass,
  6. int errorCorrectionLevel = QrErrorCorrectLevel.M,
  7. String? imageSrc,
  8. int? imageHeight,
  9. int? imageWidth,
  10. int margin = 4,
  11. required String qrdata,
  12. int scale = 4,
  13. int? version,
  14. int width = 10,
  15. String? alt,
  16. String? ariaLabel,
  17. String? title,
  18. required dynamic qrCodeURL(
    1. SafeUrl
    ),
})

Implementation

QRCodeComponent({
  this.allowEmptyString = false,
  this.elementType = 'canvas',
  this.colorDark = Colors.black,
  this.colorLight = Colors.white,
  this.cssClass,
  this.errorCorrectionLevel = QrErrorCorrectLevel.M,
  this.imageSrc,
  this.imageHeight,
  this.imageWidth,
  this.margin = 4,
  required this.qrdata,
  this.scale = 4,
  this.version,
  this.width = 10,
  this.alt,
  this.ariaLabel,
  this.title,
  required this.qrCodeURL,
});