BarcodeCountSettings class

Added in version 6.17.0

Constructors

BarcodeCountSettings({bool? scanPreviewEnabled})
Creates a new barcode count settings instance. This initializer allows enabling or disabling the scan preview at construction. When using the default initializer, scan preview is disabled by default.

Properties

clusteringMode ↔ ClusteringMode
Clustering mode allows smart grouping of neighbouring barcodes. Default to ClusteringMode.disabled.
getter/setter pair
disableModeWhenCaptureListCompleted ↔ bool
Declares whether or not the mode will be disabled automatically when the provided capture list has been completed. If no list has been provided, this has no effect.
getter/setter pair
enabledSymbologies → Set<Symbology>
Returns the set of enabled symbologies.
no setter
expectsOnlyUniqueBarcodes ↔ bool
Declares whether or not the barcodes to be tracked are expected to be unique. If enabled optimizations can be used to improve Barcode Count.
getter/setter pair
filterSettings → BarcodeFilterSettings
Returns the current settings for barcode filtering.
no setter
hashCode → int
The hash code for this object.
no setterinherited
mappingEnabled ↔ bool
Use this property to enable barcode mapping.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scanPreviewEnabled → bool
Returns the state of the scan preview. Can only be set during initialization.
no setter

Methods

enableSymbologies(Set<Symbology> symbologies) → void
This function provides a convenient shortcut to enabling decoding of particular symbologies without having to go through SymbologySettings. By default, all symbologies are turned off and symbologies need to be explicitly enabled.
enableSymbology(Symbology symbology, bool enabled) → void
This function provides a convenient shortcut to enabling/disabling decoding of a particular symbology without having to go through SymbologySettings.
getProperty<T>(String name) → T
Retrieves the value of a previously set property.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setProperty<T>(String name, T value) → void
Sets property to the provided value. Use this method to set properties that are not yet part of a stable API. Properties set through this method may or may not be used or change in a future release.
settingsForSymbology(Symbology symbology) → SymbologySettings
Gets SymbologySettings specific for the given Symbology.
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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