# ScanCompletionOverlay constructor

ScanCompletionOverlay({

1. StyledText? message,
2. ScanbotColor? iconColor,
3. ScanbotColor? overlayBackgroundColor,
4. int timeout = 1000,

})

## Implementation

    ScanCompletionOverlay({
      StyledText? message,
      ScanbotColor? iconColor,
      ScanbotColor? overlayBackgroundColor,
      this.timeout = 1000,
    })  : message = message ??
              StyledText(
                  text: "?completionOverlaySuccessMessage",
                  color: ScanbotColor("?sbColorOnPrimary")),
          iconColor = iconColor ?? ScanbotColor("?sbColorOnPrimary"),
          overlayBackgroundColor =
              overlayBackgroundColor ?? ScanbotColor("?sbColorSurfaceHigh");