BarcodeArCustomAnnotation class

A custom annotation that can be used to attach your own component to a scanned barcode.

Added in version 8.1.0

Inheritance

Constructors

BarcodeArCustomAnnotation({required Barcode barcode, required BarcodeArAnnotationTrigger annotationTrigger, required Widget child, Anchor? anchor})
Creates a new instance of the custom annotation.

Properties

anchor → Anchor
Specifies the anchor point for the annotation. The default is Anchor.topCenter
no setter
annotationTrigger ↔ BarcodeArAnnotationTrigger
The trigger that causes the annotation to be presented.
getter/setter pairinherited
barcode → Barcode
The barcode instance for the annotation.
no setter
barcodeId ↔ String
getter/setter pairinherited
child → Widget
The child widget to be used as a custom annotation.
no setter
controller ↔ BarcodeArViewController?
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
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
toMap() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

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