瀏覽代碼
Updated barcode check to inline check. Updated README.md.
flutter-beta
Julian Steenbakker
5 年之前
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: 16E437C7A3D94250
共有
2 個文件被更改,包括
2 次插入 和
3 次删除
-
example/lib/main.dart
-
lib/src/qr_code_scanner.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( |
|
|
|
|
|
|
|
@@ -106,8 +106,6 @@ class QRView extends StatefulWidget { |
|
|
|
} |
|
|
|
|
|
|
|
class _QRViewState extends State<QRView> { |
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
Widget build(BuildContext context) { |
|
|
|
return Stack( |
|
|
|
|