Ver código fonte

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 anos atrás
committed by GitHub
pai
commit
34d5da88d7
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      README.md

+ 1
- 1
README.md Ver arquivo

@@ -119,7 +119,7 @@ class _QRViewExampleState extends State<QRViewExample> {
this.controller = controller;
controller.scannedDataStream.listen((scanData) {
setState(() {
qrText = scanData;
result = scanData;
});
});
}


Carregando…
Cancelar
Salvar