Tihomirov пре 4 година
родитељ
комит
1f1f0a9cd8
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      lib/src/qr_scanner_overlay_shape.dart

+ 1
- 1
lib/src/qr_scanner_overlay_shape.dart Прегледај датотеку

@@ -22,7 +22,7 @@ class QrScannerOverlayShape extends ShapeBorder {
"Border can't be larger than ${min(this.cutOutWidth, this.cutOutHeight) / 2 + borderWidth * 2}", "Border can't be larger than ${min(this.cutOutWidth, this.cutOutHeight) / 2 + borderWidth * 2}",
); );
assert( assert(
(cutOutSize != null && cutOutWidth == null && cutOutHeight == null) ||
(cutOutWidth == null && cutOutHeight == null) ||
(cutOutSize == null && cutOutWidth != null && cutOutHeight != null), (cutOutSize == null && cutOutWidth != null && cutOutHeight != null),
'Use only cutOutWidth and cutOutHeight or only cutOutSize'); 'Use only cutOutWidth and cutOutHeight or only cutOutSize');
} }


Loading…
Откажи
Сачувај