ZoomOverlay constructor
ZoomOverlay({
- ScanbotColor? overlayColor,
- ButtonConfiguration? closeButton,
Implementation
ZoomOverlay({
ScanbotColor? overlayColor,
ButtonConfiguration? closeButton,
}) : overlayColor = overlayColor ?? ScanbotColor("?sbColorModalOverlay"),
closeButton = closeButton ??
ButtonConfiguration(
text: "?zoomOverlayCancelButtonText",
accessibilityDescription:
"?accessibilityDescriptionZoomOverlayCancelButton",
background: BackgroundStyle(
fillColor: ScanbotColor("#00000000"), strokeWidth: 0.0),
foreground:
ForegroundStyle(color: ScanbotColor("?sbColorOnPrimary")));