Open Csabatom opened 4 years ago
Future<Null> _scan() async { List<Barcode> barcodes = []; try { barcodes = await FlutterMobileVision.scan( autoFocus: true, formats: Barcode.QR_CODE, multiple: true, showText: true, fps: 15.0, ); } on Exception { barcodes.add(Barcode('Failed to get barcode.')); } }
and it is being called from a button onclick event.
Hi @Csabatom,
could you provide the error log?
Future<Null> _scan() async { List<Barcode> barcodes = []; try { barcodes = await FlutterMobileVision.scan( autoFocus: true, formats: Barcode.QR_CODE, multiple: true, showText: true, fps: 15.0, ); } on Exception { barcodes.add(Barcode('Failed to get barcode.')); } }
and it is being called from a button onclick event.