From 027a6a98d85c8f8075a6ad66c6b6986d8f7f3777 Mon Sep 17 00:00:00 2001 From: Julian Steenbakker Date: Sun, 24 Jan 2021 10:40:24 +0100 Subject: [PATCH] Fixed scan area not --- lib/src/qr_code_scanner.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/src/qr_code_scanner.dart b/lib/src/qr_code_scanner.dart index 0e699ec..da0fc18 100644 --- a/lib/src/qr_code_scanner.dart +++ b/lib/src/qr_code_scanner.dart @@ -73,9 +73,8 @@ class _QRViewState extends State { bool onNotification(notification) { Future.microtask(() => { QRViewController.updateDimensions(widget.key, _channel, - scanArea: widget.overlay != null - ? widget.overlay.cutOutSize - : 0.0) + scanArea: + widget.overlay != null ? widget.overlay.cutOutSize : 0.0) }); return false; }