Barcode constructor
Barcode(
- Object? data, {
- BarcodeKind type = BarcodeKind.qrCode,
- double width = 200,
- double height = 200,
- ColorToken? foregroundColor,
- ColorToken? backgroundColor,
- bool showText = false,
- String? name,
- Object? visible,
Implementation
Barcode(
Object? data, {
this.type = BarcodeKind.qrCode,
this.width = 200,
this.height = 200,
this.foregroundColor,
this.backgroundColor,
this.showText = false,
String? name,
Object? visible,
}) : data = normalizeExpression(data),
super(name: name, visible: _normalizeVisibility(visible));