ReorderPagesScreenConfiguration constructor
ReorderPagesScreenConfiguration({
- ButtonConfiguration? topBarBackButton,
- StyledText? topBarTitle,
- ButtonConfiguration? topBarConfirmButton,
- ScanbotColor? backgroundColor,
- UserGuidanceConfiguration? guidance,
- StyledText? pageTextStyle,
Implementation
ReorderPagesScreenConfiguration({
ButtonConfiguration? topBarBackButton,
StyledText? topBarTitle,
ButtonConfiguration? topBarConfirmButton,
ScanbotColor? backgroundColor,
UserGuidanceConfiguration? guidance,
StyledText? pageTextStyle,
}) : topBarBackButton = topBarBackButton ??
ButtonConfiguration(
visible: true,
text: "?reorderTopBarCancelButtonTitle",
accessibilityDescription:
"?accessibilityDescriptionReorderTopBarCancelButton",
background: BackgroundStyle(
strokeColor: ScanbotColor("#00000000"),
fillColor: ScanbotColor("#00000000"),
strokeWidth: 0.0),
foreground: ForegroundStyle(
iconVisible: true,
color: ScanbotColor("?sbColorOnPrimary"),
useShadow: false)),
topBarTitle = topBarTitle ??
StyledText(
text: "?reorderPageTitle",
color: ScanbotColor("?sbColorOnPrimary")),
topBarConfirmButton = topBarConfirmButton ??
ButtonConfiguration(
visible: true,
text: "?reorderTopBarConfirmButtonTitle",
accessibilityDescription:
"?accessibilityDescriptionReorderTopBarConfirmButton",
background: BackgroundStyle(
strokeColor: ScanbotColor("#00000000"),
fillColor: ScanbotColor("#00000000"),
strokeWidth: 0.0),
foreground: ForegroundStyle(
iconVisible: true,
color: ScanbotColor("?sbColorOnPrimary"),
useShadow: false)),
backgroundColor = backgroundColor ?? ScanbotColor("?sbColorOutline"),
guidance = guidance ??
UserGuidanceConfiguration(
title: StyledText(
text: "?reorderPageGuidanceTitle",
color: ScanbotColor("?sbColorOnPrimary")),
background: BackgroundStyle(
strokeColor: ScanbotColor("#00000000"),
fillColor: ScanbotColor("?sbColorSurfaceLow"),
strokeWidth: 0.0)),
pageTextStyle = pageTextStyle ??
StyledText(
text: "?reorderPageText",
color: ScanbotColor("?sbColorOnSurface"));