closeUpAnnotation property

  1. @Deprecated('Use annotationsByThreshold instead. Will be removed in 9.0.')
BarcodeArInfoAnnotation? get closeUpAnnotation

The annotation displayed when the barcode appears close-up (when the barcode area exceeds the BarcodeArResponsiveAnnotation.threshold).

Can be null to display nothing for close-up barcodes.

Added in version 8.2.0

Implementation

@Deprecated('Use annotationsByThreshold instead. Will be removed in 9.0.')
BarcodeArInfoAnnotation? get closeUpAnnotation {
  final annotation = _annotationsByThreshold[1.0];
  return annotation is BarcodeArInfoAnnotation ? annotation : null;
}