Barcode Pick View Highlight Style Dot With Icons

Note

Barcode Pick is still in beta and may change in future versions of Scandit Data Capture SDK.

Defined in library scandit_datacapture_barcode_pick_ui

BarcodePickViewHighlightStyleDotWithIcons
class BarcodePickViewHighlightStyleDotWithIcons : BarcodePickViewHighlightStyle

Added in version 6.22.0

A style that will draw dots on top of barcodes, the highlights also have icons drawn on top.

BarcodePickViewHighlightStyleDotWithIcons()
BarcodePickViewHighlightStyleDotWithIcons()

Added in version 6.22.0

Creates a new instance with default values.

iconStyle
BarcodePickIconStyle iconStyle

Added in version 6.22.0

The selected icons style. Defaults to BarcodePickIconStyle.preset_1

getBrushForState(state)
Brush getBrushForState(BarcodePickState state)

Added in version 6.22.0

Gets the brush used for the passed pick state.

setBrushForState(brush, state)
void setBrushForState(Brush brush,
        BarcodePickState state)

Added in version 6.22.0

Use this method to configure the brush used for the specific pick state.

setIconForState(assetKey, state)
Future<void> setIconForState(String assetKey,
        BarcodePickState state)

Added in version 6.22.0

Use this method to configure the icon used for the specific pick state.

The asset key of the icon to load. For example: assets/images/picked.png.

Note

The icon is shown with a size of 18x18 dp.