BarcodeDetectorOptions class
Immutable options to configure BarcodeDetector.
Sets which barcode formats the detector will detect. Defaults to BarcodeFormat.all.
Example usage:
final BarcodeDetectorOptions options =
BarcodeDetectorOptions(barcodeFormats: BarcodeFormat.aztec | BarcodeFormat.ean8);
Constructors
- BarcodeDetectorOptions({BarcodeFormat barcodeFormats = BarcodeFormat.all})
-
const
Properties
- barcodeFormats → BarcodeFormat
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited