mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-07 03:19:31 +00:00
12 lines
292 B
Dart
12 lines
292 B
Dart
import 'package:cake_wallet/routes.dart';
|
|
import 'package:flutter/widgets.dart';
|
|
|
|
var isQrScannerShown = false;
|
|
|
|
Future<String> presentQRScanner(BuildContext context) async {
|
|
try {
|
|
return await Navigator.pushNamed(context, Routes.scanQr) as String;
|
|
} catch (e) {
|
|
return "";
|
|
}
|
|
}
|