BarcodeClassicScannerConfiguration class

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

Constructors

BarcodeClassicScannerConfiguration({List<BarcodeFormat> barcodeFormats = const [], List<BarcodeDocumentFormat> acceptedDocumentFormats = const [], EngineMode? engineMode = EngineMode.NEXT_GEN, BarcodeAdditionalParameters? additionalParameters, bool? shouldReturnCroppedImage})

Properties

acceptedDocumentFormats List<BarcodeDocumentFormat>
List of accepted Document Formats; any document formats that are not included in this list will be ignored by the BarcodeCameraView. By default, the list includes all supported document types.
getter/setter pair
additionalParameters BarcodeAdditionalParameters?
Additional parameters for tweaking the detection of barcodes.
getter/setter pair
barcodeFormats List<BarcodeFormat>
List of accepted Barcode Formats; any formats that are not included in this list will not be detected by the BarcodeCameraView. By default, the list includes all supported barcode types.
getter/setter pair
detectorType DetectorType
final
engineMode EngineMode?
The engine mode of the barcode recognizer. Defaults to NEXT_GEN. To use legacy recognizer, please specify LEGACY
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldReturnCroppedImage bool?
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