From 34d5da88d7a5cdecbd2d2bf32b648c60d30aa895 Mon Sep 17 00:00:00 2001 From: Dhiman Seal Date: Sun, 10 Jan 2021 16:18:50 +0530 Subject: [PATCH] Example Code typo fix. `result` should change with each `SetState()` in `_onQRViewCreated(QRViewController controller))`, not `qrText`. `qrText` isn't defined! --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6c8e9ba..b996021 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ class _QRViewExampleState extends State { this.controller = controller; controller.scannedDataStream.listen((scanData) { setState(() { - qrText = scanData; + result = scanData; }); }); }