We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 78d4cc7 + 1f1f0a9 commit 548b667Copy full SHA for 548b667
1 file changed
lib/src/qr_scanner_overlay_shape.dart
@@ -22,7 +22,7 @@ class QrScannerOverlayShape extends ShapeBorder {
22
"Border can't be larger than ${min(this.cutOutWidth, this.cutOutHeight) / 2 + borderWidth * 2}",
23
);
24
assert(
25
- (cutOutSize != null && cutOutWidth == null && cutOutHeight == null) ||
+ (cutOutWidth == null && cutOutHeight == null) ||
26
(cutOutSize == null && cutOutWidth != null && cutOutHeight != null),
27
'Use only cutOutWidth and cutOutHeight or only cutOutSize');
28
}
0 commit comments