CodeScanKind enum

Which family of codes to look for in a frame.

Inheritance
Available extensions

Values

qr → const CodeScanKind

QR codes only — the fastest option.

oneD → const CodeScanKind

Linear barcodes: EAN/UPC, Code 39/93/128 (incl. GS1-128), ITF, Codabar, GS1 DataBar (+Expanded), MSI, Code 11, Industrial 2-of-5, Telepen.

twoD → const CodeScanKind

Matrix codes: QR, Data Matrix, Aztec, PDF417, MaxiCode (UPS).

postal → const CodeScanKind

Postal codes: POSTNET, PLANET, RM4SCC, KIX.

pharma → const CodeScanKind

Pharmacode one- & two-track. Explicit-only: one-track has no checksum or structure, so scanning it alongside other formats would constantly false-positive.

all → const CodeScanKind

Everything except Pharmacode (see pharma).

Properties

formats → Set<CodeFormat>
The formats this kind scans for.
no setter
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
label → String
no setter
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<CodeScanKind>
A constant List of the values in this enum, in order of their declaration.