BarcodeSelectionAimerBehavior enum
Enum used to specify what happens when the user aims a barcode.
Added in version 8.5.0
Values
- toggleSelection → const BarcodeSelectionAimerBehavior
-
Aiming and tapping an unselected barcode select it. Aiming and tapping an already selected barcode unselect it. The behavior does not apply when using BarcodeSelectionAutoSelectionStrategy. In this case, BarcodeSelectionAimerBehavior.repeatSelection is always in used.
Added in version 8.5.0
const BarcodeSelectionAimerBehavior('toggleSelection') - repeatSelection → const BarcodeSelectionAimerBehavior
-
Aiming an unselected barcode selects it. Aiming on an already selected barcode will increment the count returned by BarcodeSelectionSession.getCount.
Added in version 8.5.0
const BarcodeSelectionAimerBehavior('repeatSelection')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJSON(
String jsonValue) → BarcodeSelectionAimerBehavior
Constants
-
values
→ const List<
BarcodeSelectionAimerBehavior> - A constant List of the values in this enum, in order of their declaration.