ScannerPainter constructor
ScannerPainter({})
Implementation
ScannerPainter({
double? hornStrokeWidth,
double? scannerStrokeWidth,
Color? scannerColor,
Color? borderColor,
required this.value,
this.size,
this.boxSize,
}) : scannerColor = scannerColor ?? Colors.white,
borderColor = borderColor ?? Colors.white,
hornStrokeWidth = hornStrokeWidth ?? 3,
scannerStrokeWidth = scannerStrokeWidth ?? 0.5;