|
|
|
@ -135,7 +135,7 @@ class _QrReaderScreenState extends State<QrReaderScreen> {
|
|
|
|
/// var result = await BarcodeScanner.scan();
|
|
|
|
/// var result = await BarcodeScanner.scan();
|
|
|
|
/// int patientID = get from qr result
|
|
|
|
/// int patientID = get from qr result
|
|
|
|
var result = await BarcodeScanner.scan();
|
|
|
|
var result = await BarcodeScanner.scan();
|
|
|
|
// if (result.rawContent == "") {
|
|
|
|
if (result.rawContent != "") {
|
|
|
|
List<String> listOfParams = result.rawContent.split(',');
|
|
|
|
List<String> listOfParams = result.rawContent.split(',');
|
|
|
|
String patientType = "1";
|
|
|
|
String patientType = "1";
|
|
|
|
setState(() {
|
|
|
|
setState(() {
|
|
|
|
@ -213,5 +213,5 @@ class _QrReaderScreenState extends State<QrReaderScreen> {
|
|
|
|
//DrAppToastMsg.showErrorToast(error);
|
|
|
|
//DrAppToastMsg.showErrorToast(error);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|