瀏覽代碼
Example Code typo fix.
`result` should change with each `SetState()` in `_onQRViewCreated(QRViewController controller))`, not `qrText`. `qrText` isn't defined!
flutter-beta
Dhiman Seal
5 年之前
committed by
GitHub
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: 4AEE18F83AFDEB23
共有
1 個文件被更改,包括
1 次插入 和
1 次删除
-
README.md
|
|
|
@@ -119,7 +119,7 @@ class _QRViewExampleState extends State<QRViewExample> { |
|
|
|
this.controller = controller; |
|
|
|
controller.scannedDataStream.listen((scanData) { |
|
|
|
setState(() { |
|
|
|
qrText = scanData; |
|
|
|
result = scanData; |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
|