Ver a proveniência

Release of v0.2.1

flutter-beta
Julian Steenbakker há 5 anos
ascendente
cometimento
2327953c25
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados ID da chave GPG: 16E437C7A3D94250
3 ficheiros alterados com 11 adições e 3 eliminações
  1. +3
    -0
      CHANGELOG.md
  2. +7
    -2
      lib/src/qr_code_scanner.dart
  3. +1
    -1
      pubspec.yaml

+ 3
- 0
CHANGELOG.md Ver ficheiro

@@ -1,3 +1,6 @@
## 0.2.1
* Fixed critical bug where scanner wouldn't open when no scan overlay was configured.

## 0.2.0 ## 0.2.0
#### Breaking change #### Breaking change
* The plugin now returns Barcode object instead of QR String. This object includes the type of code, the code itself and on Android devices the raw bytes. (#63) * The plugin now returns Barcode object instead of QR String. This object includes the type of code, the code itself and on Android devices the raw bytes. (#63)


+ 7
- 2
lib/src/qr_code_scanner.dart Ver ficheiro

@@ -159,8 +159,13 @@ class _QRViewState extends State<QRView> {
return; return;
} }


widget.onQRViewCreated(QRViewController._(
id, widget.key, (widget.overlay as QrScannerOverlayShape).cutOutSize));
// We pass the cutout size so that the scanner respects the scan area.
var cutOutSize = 0.0;
if (widget.overlay != null) {
cutOutSize = (widget.overlay as QrScannerOverlayShape).cutOutSize;
}

widget.onQRViewCreated(QRViewController._(id, widget.key, cutOutSize));
} }
} }




+ 1
- 1
pubspec.yaml Ver ficheiro

@@ -1,6 +1,6 @@
name: qr_code_scanner name: qr_code_scanner
description: QR code scanner that can be embedded inside flutter. It uses zxing in Android and MTBBarcode scanner in iOS. description: QR code scanner that can be embedded inside flutter. It uses zxing in Android and MTBBarcode scanner in iOS.
version: 0.2.0
version: 0.2.1
homepage: https://juliuscanute.com homepage: https://juliuscanute.com
repository: https://github.com/juliuscanute/qr_code_scanner repository: https://github.com/juliuscanute/qr_code_scanner




Carregando…
Cancelar
Guardar