BarcodePainter constructor
const
BarcodePainter({
- required List<
Offset> barcodeCorners, - required Size barcodeSize,
- required String barcodeValue,
- required BoxFit boxFit,
- required Size cameraPreviewSize,
- required Color color,
- required PaintingStyle style,
- required TextPainter textPainter,
- required DeviceOrientation deviceOrientation,
- 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,
});