소스 검색

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

flutter-beta
Julian Steenbakker 5 년 전
부모
커밋
697087deac
No known key found for this signature in database 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(


불러오는 중...
취소
저장