Barcode AR Custom Annotation
Defined in library scandit_datacapture_barcode_ar_ui
- BarcodeArCustomAnnotation
class BarcodeArCustomAnnotation : BarcodeArAnnotation
Added in version 8.1.0
A custom annotation that can be used to attach your own component to a scanned barcode.
- BarcodeArCustomAnnotation(barcode, annotationTrigger, child, anchor)
BarcodeArCustomAnnotation({required Barcode barcode, required BarcodeArAnnotationTrigger annotationTrigger, required Widget child, Anchor? anchor})
Added in version 8.1.0
Creates a new instance of the custom annotation.
- anchor
Anchor get anchor
Added in version 8.1.0
Specifies the anchor point for the annotation. The default is Anchor.topCenter
The child widget can be any Flutter widget, allowing for complete customization of the annotation appearance.
BarcodeArCustomAnnotation( barcode: barcode, annotationTrigger: annotationTrigger, child: YourCustomWidget(), );