Barcode Check Status Icon Annotation

Defined in library scandit_datacapture_barcode_check_ui

BarcodeCheckStatusIconAnnotation
class BarcodeCheckStatusIconAnnotation : BarcodeCheckAnnotation

Added in version 7.1.0

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.

../../../_images/status_icon.png ../../../_images/status_icon_expanded.png

Collapsed state.

Expanded state.

BarcodeCheckStatusIconAnnotation(barcode)
BarcodeCheckStatusIconAnnotation(Barcode barcode)

Added in version 7.1.0

Constructs a new instance of this class.

barcode
Barcode get barcode

Added in version 7.1.0

The barcode instance for the annotation.

hasTip
bool hasTip

Added in version 7.1.0

Whether the status icon has a tip. Default is true.

icon
ScanditIcon icon

Added in version 7.1.0

The icon. Default value is black ScanditIconType.exclamationMark with a background color of #FBC02C.

text
String? text

Added in version 7.1.0

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.

textColor
Color textColor

Added in version 7.1.0

The color of the text. Default is #121619.

backgroundColor
Color backgroundColor

Added in version 7.1.0

The icon background color. Default is #FFFFFF.