# BarcodeInfoMapping constructor

BarcodeInfoMapping({

1. BarcodeItemMapper? barcodeItemMapper,
2. ScanbotColor? sheetColor,
3. ScanbotColor? dividerColor,
4. ScanbotColor? modalOverlayColor,
5. StyledText? loadingMessage,
6. BarcodeItemErrorState? errorState,

})

## Implementation

    BarcodeInfoMapping({
      BarcodeItemMapper? barcodeItemMapper,
      ScanbotColor? sheetColor,
      ScanbotColor? dividerColor,
      ScanbotColor? modalOverlayColor,
      StyledText? loadingMessage,
      BarcodeItemErrorState? errorState,
    })  : barcodeItemMapper = barcodeItemMapper ?? null,
          sheetColor = sheetColor ?? ScanbotColor("?sbColorSurface"),
          dividerColor = dividerColor ?? ScanbotColor("?sbColorOutline"),
          modalOverlayColor =
              modalOverlayColor ?? ScanbotColor("?sbColorModalOverlay"),
          loadingMessage = loadingMessage ??
              StyledText(
                  text: "Loading message for barcode info mapping.",
                  color: ScanbotColor("?sbColorPrimary")),
          errorState = errorState ?? BarcodeItemErrorState();