diff --git a/example/lib/main.dart b/example/lib/main.dart index fd8aeba..4d5680c 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -45,7 +45,8 @@ class _QRViewExampleState extends State { mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [ 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( diff --git a/lib/src/qr_code_scanner.dart b/lib/src/qr_code_scanner.dart index bbe3df1..451f240 100644 --- a/lib/src/qr_code_scanner.dart +++ b/lib/src/qr_code_scanner.dart @@ -106,8 +106,6 @@ class QRView extends StatefulWidget { } class _QRViewState extends State { - - @override Widget build(BuildContext context) { return Stack(