mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +00:00
17 lines
422 B
Dart
17 lines
422 B
Dart
// import 'package:barcode_scan/barcode_scan.dart';
|
|
|
|
var isQrScannerShown = false;
|
|
|
|
Future<String> presentQRScanner() async {
|
|
isQrScannerShown = true;
|
|
// FIX-ME: BarcodeScanner
|
|
throw Exception('Unimplemented');
|
|
// try {
|
|
// final result = await BarcodeScanner.scan();
|
|
// isQrScannerShown = false;
|
|
// return result.rawContent;
|
|
// } catch (e) {
|
|
// isQrScannerShown = false;
|
|
// rethrow;
|
|
// }
|
|
}
|