AcknowledgementScreenConfiguration constructor

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

Implementation

AcknowledgementScreenConfiguration({
  StyledText? topBarTitle,
  this.minimumQuality = DocumentQuality.POOR,
  this.acknowledgementMode = AcknowledgementMode.ALWAYS,
  IconUserGuidanceConfiguration? badImageHint,
  ScanbotColor? backgroundColor,
  AcknowledgementBottomBar? bottomBar,
})  : topBarTitle = topBarTitle ??
          StyledText(
              visible: false,
              text: "?acknowledgementTitle",
              color: ScanbotColor("?sbColorOnPrimary")),
      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();