BarcodeImage constructor

const BarcodeImage({
  1. Key? key,
  2. required String contents,
  3. required BarcodeFormat format,
  4. required int width,
  5. required int height,
  6. Widget placeholder = const SizedBox.shrink(),
})

Implementation

const BarcodeImage({
  Key? key,
  required this.contents,
  required this.format,
  required this.width,
  required this.height,
  this.placeholder = const SizedBox.shrink(),
}) : super(key: key);