anchor.diff:                        value: _digits,
                         isDense: true,
                         underline: null,
  -                      items: [6, 7, 8]
  +                      items: _digitsValues
                             .map((e) => DropdownMenuItem(
                                   value: e,
                                   child: Text('$e digits'),
  
positive.code:             final b64Image = base64Encode(fileData);
              final otpauth = await qrScanner.scanQr(b64Image);
              final data = CredentialData.fromUri(Uri.parse(otpauth));
              setState(() {
                _issuerController.text = data.issuer ?? '';
                _accountController.text = data.name;
                _secretController.text = data.secret;
                _oathType = data.oathType;
                _hashAlgorithm = data.hashAlgorithm;
                _periodController.text = '${data.period}';
                _digits = data.digits;
                _qrState = _QrScanState.success;
              });
            }
          },
          child: Column(
  
negative.code:       });
        final otpauth = await qrScanner.scanQr();
        final data = CredentialData.fromUri(Uri.parse(otpauth));
        _loadCredentialData(data);
      } catch (e) {
        setState(() {
          _qrState = _QrScanState.failed;
        });
      }
    }
  
    _loadCredentialData(CredentialData data) {
      setState(() {
        _issuerController.text = data.issuer ?? '';
        _accountController.text = data.name;
        _secretController.text = data.secret;
        _oathType = data.oathType;
        _hashAlgorithm = data.hashAlgorithm;
        _periodValues = [data.period];
        _periodController.text = '${data.period}';
        _digitsValues = [data.digits];
        _digits = data.digits;
        _isObscure = true;
        _qrState = _QrScanState.success;
      });
    }
  
    List<Widget> _buildQrStatus() {
  