Label Capture Settings

Defined in library scandit_datacapture_label

LabelCaptureSettings
class LabelCaptureSettings

Added in version 7.2.0

builder()
static LabelCaptureSettingsBuilder builder()

Added in version 7.2.0

Create a Label Capture Settings Builder.

LabelCaptureSettings(definitions)
 LabelCaptureSettings(List<LabelDefinition> definitions)

Added in version 7.2.0

Load the settings from an array of LabelDefinition

LabelCaptureSettings.withProperties(definitions, properties)
factory LabelCaptureSettings.withProperties(
        List<LabelDefinition> definitions,
        Map<String, dynamic> properties)

Added in version 7.2.0

Load the settings from an array of LabelDefinition with optional hidden properties

locationSelection
LocationSelection? locationSelection

Added in version 7.2.0

Defines the strategy with which to select one out of many visible labels. By default, this property is null and label selection is disabled.

Currently only RectangularLocationSelection is supported.

setProperty(name, value)
void setProperty<T>(String name,
        T value)

Added in version 7.2.0

Sets a 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 change in a future release.

getProperty(name)
T getProperty<T>(String name)

Added in version 7.2.0

Retrieves the value of a previously set property. In case the property does not exist, null is returned. Use this method to get properties that are not yet part of a stable API. These properties may change in a future release.