AcknowledgementBottomBar constructor

AcknowledgementBottomBar({
  1. BarButtonConfiguration? retakeButton,
  2. BarButtonConfiguration? acceptWhenOkButton,
  3. BarButtonConfiguration? acceptWhenNotOkButton,
})

Implementation

AcknowledgementBottomBar({
  BarButtonConfiguration? retakeButton,
  BarButtonConfiguration? acceptWhenOkButton,
  BarButtonConfiguration? acceptWhenNotOkButton,
})  : retakeButton = retakeButton ??
          BarButtonConfiguration(
              title: StyledText(
                  text: "?acknowledgementRetakeButtonTitle",
                  color: ScanbotColor("?sbColorOnPrimary")),
              accessibilityDescription:
                  "?accessibilityDescriptionAcknowledgementRetakeButton",
              background: BackgroundStyle(
                  strokeColor: ScanbotColor("#00000000"),
                  fillColor: ScanbotColor("#00000000"),
                  strokeWidth: 0.0),
              icon: IconStyle(color: ScanbotColor("?sbColorOnPrimary"))),
      acceptWhenOkButton = acceptWhenOkButton ??
          BarButtonConfiguration(
              title: StyledText(
                  text: "?acknowledgementAcceptButtonTitle",
                  color: ScanbotColor("?sbColorOnPrimary")),
              accessibilityDescription:
                  "?accessibilityDescriptionAcknowledgementAcceptButton",
              background: BackgroundStyle(
                  strokeColor: ScanbotColor("#00000000"),
                  fillColor: ScanbotColor("#00000000"),
                  strokeWidth: 0.0),
              icon: IconStyle(color: ScanbotColor("?sbColorOnPrimary"))),
      acceptWhenNotOkButton = acceptWhenNotOkButton ??
          BarButtonConfiguration(
              title: StyledText(
                  text: "?acknowledgementAcceptButtonTitle",
                  color: ScanbotColor("?sbColorOnPrimary")),
              accessibilityDescription:
                  "?accessibilityDescriptionAcknowledgementAcceptButton",
              background: BackgroundStyle(
                  strokeColor: ScanbotColor("#00000000"),
                  fillColor: ScanbotColor("#00000000"),
                  strokeWidth: 0.0),
              icon: IconStyle(color: ScanbotColor("?sbColorOnPrimary")));