Barcode AR Custom Highlight

Defined in library scandit_datacapture_barcode_ar_ui

BarcodeArCustomHighlight
class BarcodeArCustomHighlight : BarcodeArHighlight

Added in version 8.1.0

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

BarcodeArCustomHighlight(barcode, child)
BarcodeArCustomHighlight({required Barcode barcode,
        required Widget child})

Added in version 8.1.0

Creates a new instance of the custom highlight.

barcode
Barcode get barcode

Added in version 8.1.0

The barcode instance for the annotation.

child
Widget get child

Added in version 8.1.0

The child widget to be used as a custom highlight.

The child widget can be any Flutter widget, allowing for complete customization of the highlight appearance.

BarcodeArCustomHighlight(
  barcode: barcode,
  child: YourCustomWidget(),
);