StyleForBarcodeItem
@Immutable
The style configuration for the polygon in the AR overlay based on the detected barcode item.
Parameters
onBarcodeItemStyle
A callback function that provides the style for the AR overlay polygon based on the detected BarcodeItem. The callback run on the main thread. It is recommended to keep the callback lightweight to avoid blocking the main thread.