Iam trying to push to the QR code scanner screen, with the following code, and when I push it I can only see a black screen (black preview), and I have to pause and start the camera manually, to actually see the camera picture (preview).
Push:
Navigator.pushReplacement(
context,
MaterialPageRoute(
// Material page route makes it
builder: (context) {
return qrScreen.QRViewApp();
},
),
);
The qr reader code: I am using this example
And I am using the following dependency: qr_code_scanner: ^0.5.2
LOG: LOG Link (PASTEBIN)