BarcodeImage.fromBarcode constructor
BarcodeImage.fromBarcode({})
Implementation
BarcodeImage.fromBarcode({
Key? key,
required Barcode barcode,
required this.width,
required this.height,
this.placeholder = const SizedBox.shrink(),
}) : contents = barcode.text,
format = barcode.barcodeFormat,
super(key: key);