barCodeReader property

WebBarcodeReaderBase barCodeReader
getter/setter pair

Represents barcode reader library. Change this property if you want to use a custom implementation.

Example of using the jsQR library: void main() { if (kIsWeb) { MobileScannerWebPlugin.barCodeReader = JsQrCodeReader(videoContainer: MobileScannerWebPlugin.vidDiv); } runApp(const MaterialApp(home: MyHome())); }

Implementation

static WebBarcodeReaderBase barCodeReader =
    ZXingBarcodeReader(videoContainer: vidDiv);