AcknowledgementScreenConfiguration constructor

AcknowledgementScreenConfiguration({
  1. DocumentQuality minimumQuality = DocumentQuality.POOR,
  2. AcknowledgementMode acknowledgementMode = AcknowledgementMode.ALWAYS,
  3. IconUserGuidanceConfiguration? badImageHint,
  4. ScanbotColor? backgroundColor,
  5. AcknowledgementBottomBar? bottomBar,
})

Implementation

AcknowledgementScreenConfiguration({
  this.minimumQuality = DocumentQuality.POOR,
  this.acknowledgementMode = AcknowledgementMode.ALWAYS,
  IconUserGuidanceConfiguration? badImageHint,
  ScanbotColor? backgroundColor,
  AcknowledgementBottomBar? bottomBar,
})  : badImageHint = badImageHint ??
          IconUserGuidanceConfiguration(
              visible: true,
              icon: IconStyle(color: ScanbotColor("?sbColorOnPrimary")),
              title: StyledText(
                  text: "?acknowledgementScreenBadDocumentHint",
                  color: ScanbotColor("?sbColorOnPrimary")),
              background: BackgroundStyle(
                  strokeColor: ScanbotColor("?sbColorNegative"),
                  fillColor: ScanbotColor("?sbColorNegative"),
                  strokeWidth: 0.0)),
      backgroundColor = backgroundColor ?? ScanbotColor("?sbColorOutline"),
      bottomBar = bottomBar ?? AcknowledgementBottomBar();