QRCodeComponent constructor
QRCodeComponent({
- bool allowEmptyString = false,
- dynamic elementType = 'canvas',
- Color colorDark = Colors.black,
- Color colorLight = Colors.white,
- String? cssClass,
- int errorCorrectionLevel = QrErrorCorrectLevel.M,
- String? imageSrc,
- int? imageHeight,
- int? imageWidth,
- int margin = 4,
- required String qrdata,
- int scale = 4,
- int? version,
- int width = 10,
- String? alt,
- String? ariaLabel,
- String? title,
- required dynamic qrCodeURL(),
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,
});