BarcodeArInfoAnnotationBodyComponent class

A component that forms the body of an info annotation (BarcodeArInfoAnnotation). Each component represents a “row,” containing text with optional icons on the left and/or right sides.

Added in version 7.1.0

Mixed-in types

Constructors

BarcodeArInfoAnnotationBodyComponent()
Constructs a new instance of the body component.

Properties

fontFamily ↔ FontFamily
The font used for the text.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
hasListeners → bool
Whether any listeners are currently registered.
no setterinherited
isLeftIconTappable ↔ bool
Whether the left icon is tappable. Default is true.
getter/setter pair
isRightIconTappable ↔ bool
Whether the right icon is tappable. Default is true.
getter/setter pair
leftIcon ↔ ScanditIcon?
The icon displayed on the left side of the component. If null, no button is shown. The default value is null.
getter/setter pair
rightIcon ↔ ScanditIcon?
The icon displayed on the right side of the component. If null, no button is shown. The default value is null.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text ↔ String?
The text shown in the component.
getter/setter pair
textAlign ↔ TextAlignment
The text alignment. The default value is center.
getter/setter pair
textColor ↔ Color
The color of the text. The default value is #121619.
getter/setter pair
textSize ↔ double
The size of the text. Default is 14 scale-independent pixels.
getter/setter pair

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
dispose() → void
Discards any resources used by the object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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