BarcodeArStatusIconAnnotation class

A tooltip annotation that toggles between collapsed and expanded states upon tap. In the collapsed state, only the icon is visible. In the expanded state, both the icon and text are displayed.

Collapsed state. Expanded state.

Added in version 7.1.0

Inheritance

Constructors

BarcodeArStatusIconAnnotation(Barcode _barcode)
Constructs a new instance of this class.

Properties

anchor ↔ BarcodeArStatusIconAnnotationAnchor
The annotation anchor. The default value is BarcodeArStatusIconAnnotationAnchor.bottom.
getter/setter pair
annotationTrigger ↔ BarcodeArAnnotationTrigger
The trigger that causes the annotation to be presented. By default is BarcodeArAnnotationTrigger.highlightTapAndBarcodeScan.
getter/setter pairoverride
backgroundColor ↔ Color
The annotation background color. Default is #FFFFFF.
getter/setter pair
barcode → Barcode
The barcode instance for the annotation.
no setter
barcodeId ↔ String
getter/setter pairinherited
controller ↔ BarcodeArViewController?
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
hasTip ↔ bool
Whether the status icon has a tip. Default is true.
getter/setter pair
icon ↔ ScanditIcon
The icon. Default value is black ScanditIconType.exclamationMark with a background color of #FBC02C.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text ↔ String?
The text shown in the expanded state. Maximum allowed length is 20 characters, including whitespaces. If null, the status icon doesn’t expand on tap. Default is null.
getter/setter pair
textColor ↔ Color
The color of the text. Default is #121619.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited