ReviewBottomBarConfiguration constructor
ReviewBottomBarConfiguration({
- BarButtonConfiguration? addButton,
- BarButtonConfiguration? retakeButton,
- BarButtonConfiguration? cropButton,
- BarButtonConfiguration? rotateButton,
- BarButtonConfiguration? deleteButton,
- ButtonConfiguration? submitButton,
Implementation
ReviewBottomBarConfiguration({
BarButtonConfiguration? addButton,
BarButtonConfiguration? retakeButton,
BarButtonConfiguration? cropButton,
BarButtonConfiguration? rotateButton,
BarButtonConfiguration? deleteButton,
ButtonConfiguration? submitButton,
}) : addButton = addButton ??
BarButtonConfiguration(
title: StyledText(
text: "?reviewScreenAddButtonTitle",
color: ScanbotColor("?sbColorOnPrimary")),
accessibilityDescription:
"?accessibilityDescriptionReviewAddButton",
background: BackgroundStyle(
strokeColor: ScanbotColor("#00000000"),
fillColor: ScanbotColor("#00000000"),
strokeWidth: 0.0),
icon: IconStyle(color: ScanbotColor("?sbColorOnPrimary"))),
retakeButton = retakeButton ??
BarButtonConfiguration(
title: StyledText(
text: "?reviewScreenRetakeButtonTitle",
color: ScanbotColor("?sbColorOnPrimary")),
accessibilityDescription:
"?accessibilityDescriptionReviewRetakeButton",
background: BackgroundStyle(
strokeColor: ScanbotColor("#00000000"),
fillColor: ScanbotColor("#00000000"),
strokeWidth: 0.0),
icon: IconStyle(color: ScanbotColor("?sbColorOnPrimary"))),
cropButton = cropButton ??
BarButtonConfiguration(
title: StyledText(
text: "?reviewScreenCropButtonTitle",
color: ScanbotColor("?sbColorOnPrimary")),
accessibilityDescription:
"?accessibilityDescriptionReviewCropButton",
background: BackgroundStyle(
strokeColor: ScanbotColor("#00000000"),
fillColor: ScanbotColor("#00000000"),
strokeWidth: 0.0),
icon: IconStyle(color: ScanbotColor("?sbColorOnPrimary"))),
rotateButton = rotateButton ??
BarButtonConfiguration(
title: StyledText(
text: "?reviewScreenRotateButtonTitle",
color: ScanbotColor("?sbColorOnPrimary")),
accessibilityDescription:
"?accessibilityDescriptionReviewRotateButton",
background: BackgroundStyle(
strokeColor: ScanbotColor("#00000000"),
fillColor: ScanbotColor("#00000000"),
strokeWidth: 0.0),
icon: IconStyle(color: ScanbotColor("?sbColorOnPrimary"))),
deleteButton = deleteButton ??
BarButtonConfiguration(
title: StyledText(
text: "?reviewScreenDeleteButtonTitle",
color: ScanbotColor("?sbColorOnPrimary")),
accessibilityDescription:
"?accessibilityDescriptionReviewDeleteButton",
background: BackgroundStyle(
strokeColor: ScanbotColor("#00000000"),
fillColor: ScanbotColor("#00000000"),
strokeWidth: 0.0),
icon: IconStyle(color: ScanbotColor("?sbColorOnPrimary"))),
submitButton = submitButton ??
ButtonConfiguration(
text: "?reviewScreenSubmitButtonTitle",
accessibilityDescription:
"?accessibilityDescriptionReviewSubmitButton",
background: BackgroundStyle(
strokeColor: ScanbotColor("?sbColorSurface"),
fillColor: ScanbotColor("?sbColorSurface"),
strokeWidth: 0.0),
foreground:
ForegroundStyle(color: ScanbotColor("?sbColorOnSurface")));