Przeglądaj źródła
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 lat temu
committed by
GitHub
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z
1 dodań i
1 usunięć
-
README.md
|
|
|
@@ -119,7 +119,7 @@ class _QRViewExampleState extends State<QRViewExample> { |
|
|
|
this.controller = controller; |
|
|
|
controller.scannedDataStream.listen((scanData) { |
|
|
|
setState(() { |
|
|
|
qrText = scanData; |
|
|
|
result = scanData; |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
|