ScanStatus enum

What the scanner currently sees inside the guide frame.

Inheritance
Available extensions

Values

initializing → const ScanStatus
searching → const ScanStatus
tooFar → const ScanStatus
notAligned → const ScanStatus
tooDark → const ScanStatus
glare → const ScanStatus
blurry → const ScanStatus
ready → const ScanStatus
capturing → const ScanStatus
validating → const ScanStatus

Waiting for the CaptureValidator (e.g. your backend).

rejected → const ScanStatus

The validator rejected the capture; the same side is scanned again.

captured → const ScanStatus

Accepted; the flow moves to the next side.

completed → const ScanStatus

Every side was accepted.

permissionDenied → const ScanStatus
error → const ScanStatus

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
isReady → bool
no setter
isSettled → bool
The camera is not looking for the card (photo taken or being processed).
no setter
isWarning → bool
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<ScanStatus>
A constant List of the values in this enum, in order of their declaration.