ソースを参照

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

flutter-beta
Julian Steenbakker 5年前
コミット
697087deac
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 16E437C7A3D94250
2個のファイルの変更2行の追加3行の削除
  1. +2
    -1
      example/lib/main.dart
  2. +0
    -2
      lib/src/qr_code_scanner.dart

+ 2
- 1
example/lib/main.dart ファイルの表示

@@ -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 ファイルの表示

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

class _QRViewState extends State<QRView> {


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


読み込み中…
キャンセル
保存