diff --git a/lib/widgets/scanner.dart b/lib/widgets/scanner.dart index 0eed1e4..19864a8 100644 --- a/lib/widgets/scanner.dart +++ b/lib/widgets/scanner.dart @@ -17,7 +17,6 @@ class MyScanner extends StatelessWidget { SettingsProvider settingsProvider = context.watch(); void handleSuccess(String? rawValue) { - print('in Success: $rawValue'); String qrText = rawValue!; Map json = stringToJSON(qrText); Settings settings = Settings.fromJson(json); @@ -50,12 +49,10 @@ class MyScanner extends StatelessWidget { final List barcodes = capture.barcodes; for (final barcode in barcodes) { if (barcode.rawValue != null) { - print(barcode.rawValue); return handleSuccess(barcode.rawValue); } } } catch (e) { - print(e); handleError(); } }