Created
March 19, 2022 14:15
-
-
Save r-yeates/60a51654457f3652581702e173af38ed to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body: Stack( | |
children: [ | |
MobileScanner( | |
allowDuplicates: false, | |
controller: cameraController, | |
onDetect: (barcode, args) { | |
final String? code = barcode.rawValue; | |
debugPrint('Barcode found! $code'); | |
}), | |
QRScannerOverlay(overlayColour: Colors.black.withOpacity(0.5)), | |
], | |
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment