DIGIT Scanner Package
A scanner package used for scanning QR codes and GS1 barcodes.
Link to the Pub Package:
How to Use the Scanner Package
To use the digit_scanner package, add the following dependency to your pubspec.yaml file:
Initialise DigitScannerBloc Provider
To initialise the DigitScannerBloc provider in your application, add the following code:
Clear the Scanner State
To clear the scanner state, use the following code:
Navigate to the DIGIT Scanner Page
To navigate to the Digit Scanner page, use this code snippet:
Wrap the DigitScannerListener or DigitScannerBuilder
Wrap the DigitScannerListener or DigitScannerBuilder in your widget tree wherever you need to read the scanned codes from the scanner state:
Find out about usage at the example implementation.
Last updated