CroppingBottomBar constructor

CroppingBottomBar({
  1. BarButtonConfiguration? detectButton,
  2. BarButtonConfiguration? rotateButton,
  3. BarButtonConfiguration? resetButton,
})

Implementation

CroppingBottomBar({
  BarButtonConfiguration? detectButton,
  BarButtonConfiguration? rotateButton,
  BarButtonConfiguration? resetButton,
})  : detectButton = detectButton ??
          BarButtonConfiguration(
              title: StyledText(
                  text: "?croppingDetectButtonTitle",
                  color: ScanbotColor("?sbColorOnPrimary")),
              accessibilityDescription:
                  "?accessibilityDescriptionCroppingDetectButton",
              background: BackgroundStyle(
                  strokeColor: ScanbotColor("#00000000"),
                  fillColor: ScanbotColor("#00000000"),
                  strokeWidth: 0.0),
              icon: IconStyle(color: ScanbotColor("?sbColorOnPrimary"))),
      rotateButton = rotateButton ??
          BarButtonConfiguration(
              title: StyledText(
                  text: "?croppingRotateButtonTitle",
                  color: ScanbotColor("?sbColorOnPrimary")),
              accessibilityDescription:
                  "?accessibilityDescriptionCroppingRotateButton",
              background: BackgroundStyle(
                  strokeColor: ScanbotColor("#00000000"),
                  fillColor: ScanbotColor("#00000000"),
                  strokeWidth: 0.0),
              icon: IconStyle(color: ScanbotColor("?sbColorOnPrimary"))),
      resetButton = resetButton ??
          BarButtonConfiguration(
              title: StyledText(
                  text: "?croppingResetButtonTitle",
                  color: ScanbotColor("?sbColorOnPrimary")),
              accessibilityDescription:
                  "?accessibilityDescriptionCroppingResetButton",
              background: BackgroundStyle(
                  strokeColor: ScanbotColor("#00000000"),
                  fillColor: ScanbotColor("#00000000"),
                  strokeWidth: 0.0),
              icon: IconStyle(color: ScanbotColor("?sbColorOnPrimary")));