ReviewMorePopupMenu constructor

ReviewMorePopupMenu({
  1. ScanbotColor? backgroundColor,
  2. PopupMenuItem? reorderPages,
  3. PopupMenuItem? deleteAll,
})

Implementation

ReviewMorePopupMenu({
  ScanbotColor? backgroundColor,
  PopupMenuItem? reorderPages,
  PopupMenuItem? deleteAll,
})  : backgroundColor = backgroundColor ?? ScanbotColor("?sbColorSurface"),
      reorderPages = reorderPages ??
          PopupMenuItem(
              title: StyledText(
                  text: "?reviewScreenReorderPagesButtonTitle",
                  color: ScanbotColor("?sbColorOnSurface")),
              accessibilityDescription:
                  "?accessibilityDescriptionReviewReorderPagesButton",
              icon: IconStyle(color: ScanbotColor("?sbColorOnSurface"))),
      deleteAll = deleteAll ??
          PopupMenuItem(
              title: StyledText(
                  text: "?reviewScreenDeleteAllButtonTitle",
                  color: ScanbotColor("?sbColorNegative")),
              accessibilityDescription:
                  "?accessibilityDescriptionReviewDeleteAllButton",
              icon: IconStyle(color: ScanbotColor("?sbColorNegative")));