BarcodePainter constructor

const BarcodePainter({
  1. required List<Offset> barcodeCorners,
  2. required Size barcodeSize,
  3. required String barcodeValue,
  4. required BoxFit boxFit,
  5. required Size cameraPreviewSize,
  6. required Color color,
  7. required PaintingStyle style,
  8. required TextPainter textPainter,
  9. required DeviceOrientation deviceOrientation,
  10. double strokeWidth = 4.0,
})

Construct a new BarcodePainter instance.

Implementation

const BarcodePainter({
  required this.barcodeCorners,
  required this.barcodeSize,
  required this.barcodeValue,
  required this.boxFit,
  required this.cameraPreviewSize,
  required this.color,
  required this.style,
  required this.textPainter,
  required this.deviceOrientation,
  this.strokeWidth = 4.0,
});