BarcodeCameraConfiguration class

Inheritance
Annotations
  • @JsonSerializable(createFactory: false, includeIfNull: false, explicitToJson: true)

Constructors

BarcodeCameraConfiguration({required BarcodeClassicScannerConfiguration scannerConfiguration, bool? flashEnabled, FinderConfiguration? finder, double? cameraZoomFactor, SelectionOverlayScannerConfiguration? overlayConfiguration})

Properties

cameraZoomFactor double?
Set current zoom by a linear zoom value ranging from 0f to 1.0f. It maps to the range of real values of 1x-12x zoom. If device os not supporting some part of this range the closest value will be taken. Optical Zoom Level 0f represents the minimum zoom(1x) while Optical Zoom Level 1.0f represents the maximum zoom(12x). Default value is 0f.
read / write
detectorType DetectorType
final
finder FinderConfiguration?
Configuration of the finder window.
read / write
flashEnabled bool?
Controls whether the flash should be initially enabled. The default value is FALSE.
read / write
handleCameraInAppBackgroundAutomatically bool
read / writeinherited
hashCode int
The hash code for this object.
read-onlyinherited
overlayConfiguration SelectionOverlayScannerConfiguration?
The configuration of AR selection overlay.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
scannerConfiguration BarcodeClassicScannerConfiguration
Configuration of the barcode scanner detection behavior eg. which barcode types to detect etc.
read / write

Methods

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

Operators

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