BatchBarcodeScannerConfiguration class
Constructors
-
BatchBarcodeScannerConfiguration({List<BarcodeDocumentFormat>? acceptedDocumentFormats, Color? cameraOverlayColor, CameraModule? cameraModule, double? cameraZoomFactor, ZoomRange? cameraZoomRange, bool? cancelButtonHidden, String? cancelButtonTitle, bool? doubleTapToZoomEnabled, bool? pinchToZoomEnabled, bool? shouldAnimateZooming, EngineMode? engineMode, Color? finderLineColor, double? finderLineWidth, String? finderTextHint, Color? finderTextHintColor, AspectRatio? finderAspectRatio, bool? flashButtonHidden, String? flashButtonTitle, bool? flashEnabled, bool? focusLockEnabled, double? focusLockPosition, OrientationLockMode? orientationLockMode, int? minimumTextLength, int? maximumTextLength, int? minimum1DBarcodesQuietZone, bool? minFocusDistanceLock, bool? stripCheckDigits, bool? successBeepEnabled, Color? topBarBackgroundColor, Color? topBarButtonsColor, Color? topBarButtonsInactiveColor, List<BarcodeFormat>? barcodeFormats, bool? useButtonsAllCaps, bool? gs1DecodingEnabled, MSIPlesseyChecksumAlgorithm? msiPlesseyChecksumAlgorithm, bool? lowPowerMode, String? barcodesCountText, Color? barcodesCountTextColor, String? clearButtonTitle, Color? detailsActionColor, Color? detailsBackgroundColor, Color? detailsPrimaryColor, String? deleteButtonTitle, String? enableCameraButtonTitle, String? enableCameraExplanationText, String? fetchingStateText, String? noBarcodesTitle, String? submitButtonTitle, CodeDensity? codeDensity, bool? replaceCancelButtonWithIcon, CameraPreviewMode? cameraPreviewMode, int? autoCancelTimeout, double? initialScanDelay, bool? viewFinderEnabled, SelectionOverlayConfiguration? overlayConfiguration, BarcodeAdditionalParameters? additionalParameters, BarcodeDataFormatter? barcodeFormatter})
-
Properties
-
acceptedDocumentFormats
↔ List<BarcodeDocumentFormat>?
-
An optional array of barcode document formats that act as a detection filter. By default all supported document formats will be detected.
read / writeinherited
-
additionalParameters
↔ BarcodeAdditionalParameters?
-
Additional parameters for tweaking the detection of barcodes.
read / write
-
autoCancelTimeout
↔ int?
-
Sets auto close timer in seconds. 0 = disabled and it is the default value. Android only
read / writeinherited
-
barcodeFormats
↔ List<BarcodeFormat>?
-
Accepted barcode formats
read / writeinherited
-
barcodeFormatter
↔ BarcodeDataFormatter?
-
Change data representation for scanned list items
read / write
-
barcodesCountText
↔ String?
-
The color for barcodes count text
read / writeinherited
-
barcodesCountTextColor
↔ Color?
-
The color for barcodes count text
read / writeinherited
-
barcodesExtensionFilter
↔ BarcodesExtensionFilter?
-
The extension filter for EAN and UPC barcodes.
read / writeinherited
-
cameraModule
↔ CameraModule?
-
Background color of the detection overlay.
read / writeinherited
-
cameraOverlayColor
↔ Color?
-
Background color of the detection overlay.
read / writeinherited
-
cameraPreviewMode
↔ CameraPreviewMode?
-
Preview mode of the camera. FILL_IN or FIT_IN. Default is FILL_IN. Android only
read / writeinherited
-
cameraZoomFactor
↔ double?
-
The relative initial zoom level of the camera in the range (0,1), where 0 is zoomed out and 1 is zoomed in. The default value is 0.
read / writeinherited
-
cameraZoomRange
↔ ZoomRange?
-
The range of valid camera zoom factors. Default value is (1.0; 12.0). iOS only.
read / writeinherited
-
cancelButtonHidden
↔ bool?
-
Whether the cancel button is hidden or not. iOS only.
read / writeinherited
-
cancelButtonTitle
↔ String?
-
String being displayed on the cancel button.
read / writeinherited
-
clearButtonTitle
↔ String?
-
Text of the button which clears the list of scanned barcodes.
read / writeinherited
-
codeDensity
↔ CodeDensity?
-
The expected density of QR codes in an image.
read / writeinherited
-
deleteButtonTitle
↔ String?
-
String being displayed on the delete button. iOS only.
read / writeinherited
-
detailsActionColor
↔ Color?
-
The color of Submit button
read / writeinherited
-
detailsBackgroundColor
↔ Color?
-
The color of bottom sheet
read / writeinherited
-
detailsPrimaryColor
↔ Color?
-
The color of text elements in bottom sheet
read / writeinherited
-
doubleTapToZoomEnabled
↔ bool?
-
When this property is set to true, the zoom can be activated by double tapping somewhere in the receivers view. iOS only.
read / writeinherited
-
enableCameraButtonTitle
↔ String?
-
Title of the button that opens the screen where the user can allow the usage of the camera by the app.
read / writeinherited
-
enableCameraExplanationText
↔ String?
-
Text that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
read / writeinherited
-
engineMode
↔ EngineMode?
-
String being displayed on the cancel button.
read / writeinherited
-
fetchingStateText
↔ String?
-
The text for the data fetching state of the barcode item in a list. Smth "Fetching info…"
read / writeinherited
-
finderAspectRatio
↔ AspectRatio?
-
Aspect ratio of finder frame (width \ height), which is used to build actual finder frame. Default is 1 - it is a square frame, which is good for QR capturing.
read / writeinherited
-
finderLineColor
↔ Color?
-
Foreground color of the detection overlay.
read / writeinherited
-
finderLineWidth
↔ double?
-
Width of finder frame border. Default is 2.
read / writeinherited
-
finderTextHint
↔ String?
-
String being displayed as description.
read / writeinherited
-
finderTextHintColor
↔ Color?
-
Foreground color of the description label.
read / writeinherited
-
flashButtonHidden
↔ bool?
-
Controls whether the flash toggle button is hidden or not.
read / writeinherited
-
flashButtonTitle
↔ String?
-
String being displayed on the flash button.
read / writeinherited
-
flashEnabled
↔ bool?
-
Whether flash is toggled on or off.
read / writeinherited
-
focusLockEnabled
↔ bool?
-
Disables auto-focus and locks the lens at the specified focus lock lens position. The default value is false.
read / writeinherited
-
focusLockPosition
↔ double?
-
The position of the lens. Values can be between 0.0f (minimum focusing distance) and 1.0f (maximum focusing distance). The value will be clamped to (0.0f, 1.0f). The default value is 0.0.
read / writeinherited
-
gs1DecodingEnabled
↔ bool?
-
When set to
true
, the scanner assumes that the barcode can be a GS1 barcode. Turn it off, if you don't want to see decoded FNC1 characters ("]C1" and ASCII char 29). The default value is true
. NOTE - Currently works for CODE128 barcodes only!
read / writeinherited
-
hashCode
→ int
-
The hash code for this object.
read-onlyinherited
-
initialScanDelay
↔ double?
-
Scanning delay after scanner appearance in seconds. Defaults to 0 secs.
read / writeinherited
-
lowPowerMode
↔ bool?
-
If
true
, enabled the mode which slightly decreases the scanning quality and the energy consumption, and increases the scanning speed. If false
- mode is disabled. The default is false
. Android only.
read / writeinherited
-
maximumTextLength
↔ int?
-
Optional maximum text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only.
read / writeinherited
-
minFocusDistanceLock
↔ bool?
-
Lock focus distance withing minimum possible range
read / writeinherited
-
minimum1DBarcodesQuietZone
↔ int?
-
Optional minimum required quiet zone on the barcode. Measured in modules (the size of minimal bar on the barcode). The default is 10. NOTE - This feature works on ITF barcodes only.
read / writeinherited
-
minimumTextLength
↔ int?
-
Optional minimum required text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only.
read / writeinherited
-
msiPlesseyChecksumAlgorithm
↔ MSIPlesseyChecksumAlgorithm?
-
The checksum algorithm for MSI Plessey barcodes. The default value is MOD_10.
read / writeinherited
-
noBarcodesTitle
↔ String?
-
Text of the message that there are no barcodes scanned
read / writeinherited
-
orientationLockMode
↔ OrientationLockMode?
-
UI Interface orientation lock mode
read / writeinherited
-
overlayConfiguration
↔ SelectionOverlayConfiguration?
-
The selection overay configuration.
read / writeinherited
-
pinchToZoomEnabled
↔ bool?
-
When this property is set to true, the zoom can be activated by a pinch gesture somewhere in the receivers view. iOS only.
read / writeinherited
-
replaceCancelButtonWithIcon
↔ bool?
-
If
true
, replaces the cancel button in the top bar with a back arrow icon. The default value is FALSE. Android only.
read / writeinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
screen
↔ String?
-
The configuration object should be applied for this screen
read / writeoverride
-
shouldAnimateZooming
↔ bool?
-
Defines, if zooming in or out should be animated. iOS only.
read / writeinherited
-
stripCheckDigits
↔ bool?
-
With this option enabled, the scanner removes checks digits for UPC, EAN and MSI Plessey codes. Has no effect if both single and double digit MSI Plessey checksums are enabled. The default is
false
read / writeinherited
-
submitButtonTitle
↔ String?
-
Text of the button which finishes the flow
read / writeinherited
-
successBeepEnabled
↔ bool?
-
Whether scanner screen should make a sound on successful barcode or MRZ detection.
read / writeinherited
-
topBarBackgroundColor
↔ Color?
-
Background color of the top bar.
read / writeinherited
-
topBarButtonsColor
↔ Color?
-
Foreground color of the cancel button.
read / writeinherited
-
topBarButtonsInactiveColor
↔ Color?
-
Foreground color of the top bar buttons when disabled.
read / writeinherited
-
useButtonsAllCaps
↔ bool?
-
Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
read / writeinherited
-
version
↔ String?
-
A version of the configuration object
read / writeinherited
-
viewFinderEnabled
↔ bool?
-
Display the region of interest. The default value is TRUE.
read / writeinherited