PagePreviewMode constructor

PagePreviewMode({
  1. String accessibilityDescription = "?accessibilityDescriptionCameraPreviewButton",
  2. ScanbotColor? imagePlaceholderColor,
  3. BadgeStyle? pageCounter,
})

Implementation

PagePreviewMode({
  this.accessibilityDescription =
      "?accessibilityDescriptionCameraPreviewButton",
  ScanbotColor? imagePlaceholderColor,
  BadgeStyle? pageCounter,
})  : imagePlaceholderColor =
          imagePlaceholderColor ?? ScanbotColor("?sbColorOnSurfaceVariant"),
      pageCounter = pageCounter ??
          BadgeStyle(
              visible: true,
              background: BackgroundStyle(
                  strokeColor: ScanbotColor("?sbColorSurface"),
                  fillColor: ScanbotColor("?sbColorSurface")),
              foregroundColor: ScanbotColor("?sbColorPrimary")),
      super();