# ReviewScreenConfiguration constructor

ReviewScreenConfiguration({

1. bool enabled = true,
2. StyledText? topBarTitle,
3. IconButton? topBarMoreButton,
4. ButtonConfiguration? topBarBackButton,
5. ReviewMorePopupMenu? morePopup,
6. RoundButton? zoomButton,
7. ZoomOverlay? zoomOverlay,
8. ScanbotColor? backgroundColor,
9. ReviewBottomBarConfiguration? bottomBar,
10. IconButton? switchNextPageButton,
11. IconButton? switchPreviousPageButton,
12. UserGuidanceConfiguration? pageCounter,
13. ScanbotAlertDialog? deleteAllPagesAlertDialog,
14. ScanbotAlertDialog? deletePageAlertDialog,

})

## Implementation

    ReviewScreenConfiguration({
      this.enabled = true,
      StyledText? topBarTitle,
      IconButton? topBarMoreButton,
      ButtonConfiguration? topBarBackButton,
      ReviewMorePopupMenu? morePopup,
      RoundButton? zoomButton,
      ZoomOverlay? zoomOverlay,
      ScanbotColor? backgroundColor,
      ReviewBottomBarConfiguration? bottomBar,
      IconButton? switchNextPageButton,
      IconButton? switchPreviousPageButton,
      UserGuidanceConfiguration? pageCounter,
      ScanbotAlertDialog? deleteAllPagesAlertDialog,
      ScanbotAlertDialog? deletePageAlertDialog,
    })  : topBarTitle = topBarTitle ??
              StyledText(
                  text: "?reviewScreenTitle",
                  color: ScanbotColor("?sbColorOnPrimary")),
          topBarMoreButton = topBarMoreButton ??
              IconButton(
                  color: ScanbotColor("?sbColorOnPrimary"),
                  accessibilityDescription:
                      "?accessibilityDescriptionReviewMoreButton"),
          topBarBackButton = topBarBackButton ??
              ButtonConfiguration(
                  visible: true,
                  text: "?reviewTopBarBackButtonTitle",
                  accessibilityDescription:
                      "?accessibilityDescriptionReviewTopBarBackButton",
                  background: BackgroundStyle(
                      strokeColor: ScanbotColor("#00000000"),
                      fillColor: ScanbotColor("#00000000"),
                      strokeWidth: 0.0),
                  foreground: ForegroundStyle(
                      iconVisible: true,
                      color: ScanbotColor("?sbColorOnPrimary"),
                      useShadow: false)),
          morePopup = morePopup ?? ReviewMorePopupMenu(),
          zoomButton = zoomButton ??
              RoundButton(
                  accessibilityDescription:
                      "?accessibilityDescriptionReviewZoomButton",
                  backgroundColor: ScanbotColor("?sbColorSurfaceHigh"),
                  foregroundColor: ScanbotColor("?sbColorOnPrimary")),
          zoomOverlay = zoomOverlay ?? ZoomOverlay(),
          backgroundColor =
              backgroundColor ?? ScanbotColor("?sbColorOnSurfaceVariant"),
          bottomBar = bottomBar ?? ReviewBottomBarConfiguration(),
          switchNextPageButton = switchNextPageButton ??
              IconButton(
                  color: ScanbotColor("?sbColorOnPrimary"),
                  accessibilityDescription:
                      "?accessibilityDescriptionReviewNextPageButton"),
          switchPreviousPageButton = switchPreviousPageButton ??
              IconButton(
                  color: ScanbotColor("?sbColorOnPrimary"),
                  accessibilityDescription:
                      "?accessibilityDescriptionReviewPreviousPageButton"),
          pageCounter = pageCounter ??
              UserGuidanceConfiguration(
                  title: StyledText(
                      text: "?reviewScreenPageCount",
                      color: ScanbotColor("?sbColorOnPrimary")),
                  background: BackgroundStyle(
                      fillColor: ScanbotColor("?sbColorSurfaceHigh"),
                      strokeWidth: 0.0)),
          deleteAllPagesAlertDialog = deleteAllPagesAlertDialog ??
              ScanbotAlertDialog(
                  title: StyledText(
                      text: "?reviewDeleteAllPagesAlertTitle",
                      color: ScanbotColor("?sbColorOnSurface")),
                  subtitle: StyledText(
                      text: "?reviewDeleteAllPagesAlertSubtitle",
                      color: ScanbotColor("?sbColorOnSurfaceVariant")),
                  okButton: ButtonConfiguration(
                      text: "?reviewDeleteAllPagesAlertDeleteButtonTitle",
                      accessibilityDescription:
                          "?accessibilityDescriptionReviewDeleteAllPagesAlertDeleteButton",
                      background: BackgroundStyle(
                          fillColor: ScanbotColor("?sbColorPrimary"),
                          strokeWidth: 0.0),
                      foreground: ForegroundStyle(
                          color: ScanbotColor("?sbColorOnPrimary"))),
                  actionButton: ButtonConfiguration(visible: false),
                  cancelButton: ButtonConfiguration(
                      text: "?reviewDeleteAllPagesAlertCancelButtonTitle",
                      accessibilityDescription:
                          "?accessibilityDescriptionReviewDeleteAllPagesAlertCancelButton",
                      background: BackgroundStyle(
                          fillColor: ScanbotColor("#00000000"), strokeWidth: 0.0),
                      foreground: ForegroundStyle(
                          color: ScanbotColor("?sbColorPrimary")))),
          deletePageAlertDialog = deletePageAlertDialog ??
              ScanbotAlertDialog(
                  title: StyledText(
                      text: "?reviewDeletePageAlertTitle",
                      color: ScanbotColor("?sbColorOnSurface")),
                  subtitle: StyledText(
                      text: "?reviewDeletePageAlertSubTitle",
                      color: ScanbotColor("?sbColorOnSurfaceVariant")),
                  okButton: ButtonConfiguration(
                      text: "?reviewDeletePageAlertConfirmButtonTitle",
                      accessibilityDescription:
                          "?accessibilityDescriptionReviewDeletePageAlertConfirmButton",
                      background: BackgroundStyle(
                          fillColor: ScanbotColor("?sbColorPrimary"),
                          strokeWidth: 0.0),
                      foreground: ForegroundStyle(
                          color: ScanbotColor("?sbColorOnPrimary"))),
                  actionButton: ButtonConfiguration(
                      text: "?reviewDeletePageAlertDeleteRetakeButtonTitle",
                      accessibilityDescription:
                          "?accessibilityDescriptionReviewDeletePageAlertDeleteRetakeButton",
                      background: BackgroundStyle(
                          fillColor: ScanbotColor("#00000000"), strokeWidth: 0.0),
                      foreground: ForegroundStyle(
                          color: ScanbotColor("?sbColorPrimary"))),
                  cancelButton: ButtonConfiguration(
                      text: "?reviewDeletePageAlertCancelButtonTitle",
                      accessibilityDescription:
                          "?accessibilityDescriptionReviewDeletePageAlertCancelButton",
                      background: BackgroundStyle(
                          fillColor: ScanbotColor("#00000000"), strokeWidth: 0.0),
                      foreground: ForegroundStyle(
                          color: ScanbotColor("?sbColorPrimary"))));