瀏覽代碼

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(


Loading…
取消
儲存