BarcodeArCustomAnnotation constructor

BarcodeArCustomAnnotation({
  1. required Barcode barcode,
  2. required BarcodeArAnnotationTrigger annotationTrigger,
  3. required Widget child,
  4. Anchor? anchor,
})

Creates a new instance of the custom annotation.

Added in version 8.1.0

Implementation

BarcodeArCustomAnnotation({
  required Barcode barcode,
  required BarcodeArAnnotationTrigger annotationTrigger,
  required Widget child,
  Anchor? anchor,
}) : this._(barcode, annotationTrigger, child, anchor ?? Anchor.topCenter);