BatchBarcodeScannerConfiguration class

Constructors

BatchBarcodeScannerConfiguration.new({Color? topBarBackgroundColor, Color? topBarButtonsColor, Color? topBarButtonsInactiveColor, BarcodeDataFormatter? barcodeFormatter, Color? barcodesCountTextColor, Color? detailsActionColor, Color? detailsBackgroundColor, Color? detailsPrimaryColor, Color? cameraOverlayColor, Color? finderLineColor, Color? finderTextHintColor, bool? cancelButtonHidden, String? cancelButtonTitle, String? enableCameraButtonTitle, String? enableCameraExplanationText, String? finderTextHint, String? submitButtonTitle, String? clearButtonTitle, String? barcodesCountText, String? fetchingStateText, String? noBarcodesTitle, FinderAspectRatio? finderAspectRatio, int? finderLineWidth, bool? successBeepEnabled, bool? flashEnabled, OrientationLockMode? orientationLockMode, List<BarcodeFormat>? barcodeFormats, List<BarcodeDocumentFormat>? acceptedDocumentFormats, BarcodeAdditionalParameters? additionalParameters, EngineMode? engineMode = EngineMode.NEXT_GEN, bool? minFocusDistanceLock, int? autoCancelTimeout, bool? useButtonsAllCaps, String? flashButtonTitle, SelectionOverlayConfiguration? overlayConfiguration, double? cameraZoomFactor})

Properties

acceptedDocumentFormats List<BarcodeDocumentFormat>?
Barcode document formats which need to be recognized.
getter/setter pair
additionalParameters BarcodeAdditionalParameters?
Additional parameters for tweaking the detection of barcodes.
getter/setter pair
autoCancelTimeout int?
cancel scanning and close view on timeout. Android Only
getter/setter pair
barcodeFormats List<BarcodeFormat>?
Barcode formats which need to be recognized.
getter/setter pair
barcodeFormatter BarcodeDataFormatter?
Change data representation for scanned list items
getter/setter pair
barcodesCountText String?
Text of count text.
getter/setter pair
barcodesCountTextColor Color?
The color of barcodes count text
getter/setter pair
cameraOverlayColor Color?
The background color outside the finder window.
getter/setter pair
cameraZoomFactor double?
Set current zoom by a linear zoom value ranging from 0f to 1.0f. Optical Zoom Level 0f represents the minimum zoom while Optical Zoom Level 1.0f represents the maximum zoom. Default value is 0f.
getter/setter pair
cancelButtonHidden bool?
getter/setter pair
cancelButtonTitle String?
Title of the cancel button.
getter/setter pair
clearButtonTitle String?
Text of clear button.
getter/setter pair
detailsActionColor Color?
The color of barcodes details action
getter/setter pair
detailsBackgroundColor Color?
The color of barcodes details background
getter/setter pair
detailsPrimaryColor Color?
The color of barcodes details background
getter/setter pair
enableCameraButtonTitle String?
Title of the button that opens the screen where the user can allow the usage of the camera by the app.
getter/setter pair
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.
getter/setter pair
engineMode EngineMode?
Type of engine to be used in barcode scanner
getter/setter pair
fetchingStateText String?
Text of fetch state text.
getter/setter pair
finderAspectRatio FinderAspectRatio?
Aspect ratio of finder view.
getter/setter pair
finderLineColor Color?
The color of the finder window's outline.
getter/setter pair
finderLineWidth int?
Thickness of the finder window's outline.
getter/setter pair
finderTextHint String?
Text hint shown under the finder window.
getter/setter pair
finderTextHintColor Color?
The color of the text hint under the finder window.
getter/setter pair
flashButtonTitle String?
String being displayed on the flash button. (ios only!)
getter/setter pair
flashEnabled bool?
Controls whether the flash should be initially enabled. The default value is FALSE.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
minFocusDistanceLock bool?
Locks the minimal supported focus distance and disables a continuous focus Default value is false. Only Compatible with CameraX in Android
getter/setter pair
noBarcodesTitle String?
Text when there are no scanned barcodes yet.
getter/setter pair
orientationLockMode OrientationLockMode?
Orientation lock mode of the camera: PORTRAIT or LANDSCAPE. By default the camera orientation is not locked.
getter/setter pair
overlayConfiguration SelectionOverlayConfiguration?
The selection overlay configuration.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
submitButtonTitle String?
Text of submit button.
getter/setter pair
successBeepEnabled bool?
Controls whether to play a beep sound after a successful detection. Default value is TRUE.
getter/setter pair
topBarBackgroundColor Color?
The background color of the top toolbar.
getter/setter pair
topBarButtonsColor Color?
The color of the titles of all buttons in the top toolbar.
getter/setter pair
topBarButtonsInactiveColor Color?
The color of the titles of all inactive buttons in the top toolbar.
getter/setter pair
useButtonsAllCaps bool?
Controls whether buttons should use all capitals style, as defined by the Android Material Design. Defaults to TRUE. Android only.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited