Barkoder class
Methods
-
configureBarkoder(BarkoderConfig barkoderConfig)
→ Future<void>
-
Configures the Barkoder functionality based on the provided configuration.
-
getBarcodeTypeLengthRange(BarcodeType type)
→ Future<List<int>>
-
Retrieves the length range of a specific barcode type.
-
getMaxZoomFactor()
→ Future<double>
-
Retrieves the maximum available zoom factor for the device's camera.
-
isBarcodeTypeEnabled(BarcodeType type)
→ Future<bool>
-
Checks if a specific barcode type is enabled.
-
isFlashAvailable()
→ Future<bool>
-
Checks whether the device has a built-in flash (torch) that can be used for illumination during barcode scanning.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pauseScanning()
→ Future<void>
-
Temporarily suspends the barcode scanning process, pausing the camera feed without completely stopping the scanning session.
-
releaseBarkoder()
→ void
-
-
setBarcodeThumbnailOnResultEnabled(bool enabled)
→ Future<void>
-
Sets whether to enable barcode thumbnail on result.
-
setBarcodeTypeEnabled(BarcodeType type, bool enabled)
→ Future<void>
-
Sets whether a specific barcode type is enabled.
-
setBarcodeTypeLengthRange(BarcodeType type, int min, int max)
→ Future<void>
-
Sets the length range for the specified barcode type.
-
setBarkoderResolution(BarkoderResolution resolution)
→ Future<void>
-
Sets the resolution for barcode scanning.
-
setBeepOnSuccessEnabled(bool enabled)
→ Future<void>
-
Enables or disables the audible beep sound upon successfully decoding a barcode.
-
setCloseSessionOnResultEnabled(bool enabled)
→ Future<void>
-
Enables or disables the automatic closing of the scanning session upon detecting a barcode result.
-
setCode11ChecksumType(Code11ChecksumType checksumType)
→ Future<void>
-
Sets the Code11 checksum type.
-
setCode39ChecksumType(Code39ChecksumType checksumType)
→ Future<void>
-
Sets the Code39 checksum type.
-
setDatamatrixDpmModeEnabled(bool enabled)
→ Future<void>
-
Sets whether the Direct Part Marking (DPM) mode for Datamatrix barcodes is enabled.
-
setDecodingSpeed(DecodingSpeed decodingSpeed)
→ Future<void>
-
Sets the decoding speed for barcode scanning.
-
setDuplicatesDelayMs(int duplicatesDelayMs)
→ Future<void>
-
Sets the delay in milliseconds for considering duplicate barcodes during scanning.
-
setEnableMisshaped1DEnabled(bool enabled)
→ Future<void>
-
-
setEnableVINRestrictions(bool enabled)
→ Future<void>
-
Sets whether Vehicle Identification Number (VIN) restrictions are enabled.
-
setEncodingCharacterSet(String characterSet)
→ Future<void>
-
Sets the encoding character set for barcode scanning.
-
setFlashEnabled(bool enabled)
→ Future<void>
-
Enables or disables the device's flash (torch) for illumination during barcode scanning.
-
setFormattingType(FormattingType formattingType)
→ Future<void>
-
Sets the formatting type for barcode scanning.
-
setImageResultEnabled(bool enabled)
→ Future<void>
-
Enables or disables the capturing and processing of image data when a barcode is successfully detected.
-
setLocationInImageResultEnabled(bool enabled)
→ Future<void>
-
Enables or disables the inclusion of barcode location information within the image data result.
-
setLocationInPreviewEnabled(bool enabled)
→ Future<void>
-
Enables or disables the display of barcode location information on the camera preview.
-
setLocationLineColor(String hexColor)
→ Future<void>
-
Sets the color of the lines used to indicate the location of detected barcodes on the camera feed.
-
setLocationLineWidth(double lineWidth)
→ Future<void>
-
Sets the width of the lines indicating the location of detected barcodes on the camera feed.
-
setMaximumResultsCount(int maximumResultsCount)
→ Future<void>
-
Sets the maximum number of results to be returned from barcode scanning.
-
setMisshaped1DEnabled(bool enabled)
→ Future<void>
-
Sets whether the detection of misshaped 1D barcodes is enabled.
-
setMsiChecksumType(MsiChecksumType checksumType)
→ Future<void>
-
Sets the MSI checksum type.
-
setMulticodeCachingDuration(int multicodeCachingDuration)
→ Future<void>
-
Sets the caching duration (in milliseconds) for multi-code results.
-
setMulticodeCachingEnabled(bool enabled)
→ Future<void>
-
Sets whether multi-code caching is enabled.
-
setPinchToZoomEnabled(bool enabled)
→ Future<void>
-
Enables or disables the pinch-to-zoom feature for adjusting the zoom level during barcode scanning.
-
setRegionOfInterest(double left, double top, double width, double height)
→ Future<void>
-
Defines the Region of Interest (ROI) on the camera preview for barcode scanning, specifying an area where the application focuses on detecting barcodes.
-
setRegionOfInterestVisible(bool visible)
→ Future<void>
-
Sets the visibility of the Region of Interest (ROI) on the camera preview.
-
setRoiLineColor(String hexColor)
→ Future<void>
-
Sets the width of the lines outlining the Region of Interest (ROI) for barcode scanning on the camera feed.
-
setRoiLineWidth(double lineWidth)
→ Future<void>
-
Sets the width of the region of interest (ROI) line.
-
setRoiOverlayBackgroundColor(String hexColor)
→ Future<void>
-
Sets the background color of the overlay within the Region of Interest (ROI) for barcode scanning on the camera feed.
-
setThreadsLimit(int threadsLimit)
→ Future<void>
-
Sets the threads limit.
-
setThresholdBetweenDuplicatesScans(int thresholdBetweenDuplicatesScans)
→ Future<void>
-
Sets the threshold between duplicate scans.
-
setUpcEanDeblurEnabled(bool enabled)
→ Future<void>
-
Sets whether the deblurring feature for UPC/EAN barcodes is enabled.
-
setVibrateOnSuccessEnabled(bool enabled)
→ Future<void>
-
Enables or disables the device vibration upon successfully decoding a barcode..
-
setZoomFactor(double zoomFactor)
→ Future<void>
-
Sets the zoom factor for the device's camera, adjusting the level of zoom during barcode scanning.
-
showLogMessages(bool show)
→ Future<void>
-
Sets whether to show log messages.
-
startCamera()
→ Future<void>
-
Starts the camera.
-
startScanning(void resultsCallback(BarkoderResult))
→ Future<void>
-
Initiates the barcode scanning process, allowing the application to detect and decode barcodes from the device's camera feed.
-
stopScanning()
→ Future<void>
-
Halts the barcode scanning process, stopping the camera from capturing and processing barcode information.
-
toString()
→ String
-
A string representation of this object.
inherited