Kaynağa Gözat

Updated barcode check to inline check. Updated README.md.

flutter-beta
Julian Steenbakker 5 yıl önce
ebeveyn
işleme
697087deac
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 16E437C7A3D94250
2 değiştirilmiş dosya ile 2 ekleme ve 3 silme
  1. +2
    -1
      example/lib/main.dart
  2. +0
    -2
      lib/src/qr_code_scanner.dart

+ 2
- 1
example/lib/main.dart Dosyayı Görüntüle

@@ -45,7 +45,8 @@ class _QRViewExampleState extends State<QRViewExample> {
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
if (result != null)
Text('Barcode Type: ${describeEnum(result.format)} Data: ${result.code}')
Text(
'Barcode Type: ${describeEnum(result.format)} Data: ${result.code}')
else
Text('Scan a code'),
Row(


+ 0
- 2
lib/src/qr_code_scanner.dart Dosyayı Görüntüle

@@ -106,8 +106,6 @@ class QRView extends StatefulWidget {
}

class _QRViewState extends State<QRView> {


@override
Widget build(BuildContext context) {
return Stack(


Yükleniyor…
İptal
Kaydet