From 953a6335248058cffbf3aa77c51f62d5dcb775f4 Mon Sep 17 00:00:00 2001 From: Tihomirov Date: Fri, 30 Jul 2021 13:06:52 +0300 Subject: [PATCH] Returned standard parameters to example --- example/lib/main.dart | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index 5010e43..abf6ed0 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -151,13 +151,11 @@ class _QRViewExampleState extends State { key: qrKey, onQRViewCreated: _onQRViewCreated, overlay: QrScannerOverlayShape( - borderColor: Colors.red, - borderRadius: 10, - borderLength: 30, - borderWidth: 10, - cutOutSize: /*scanArea*/100, - cutOutBottomOffset: 150, - ), + borderColor: Colors.red, + borderRadius: 10, + borderLength: 30, + borderWidth: 10, + cutOutSize: scanArea), onPermissionSet: (ctrl, p) => _onPermissionSet(context, ctrl, p), ); }