BarcodeItemErrorState constructor
BarcodeItemErrorState({
- StyledText? title,
- StyledText? subtitle,
- ButtonConfiguration? retryButton,
- ButtonConfiguration? cancelButton,
Implementation
BarcodeItemErrorState({
StyledText? title,
StyledText? subtitle,
ButtonConfiguration? retryButton,
ButtonConfiguration? cancelButton,
}) : title = title ??
StyledText(
text: "Connection Error!",
color: ScanbotColor("?sbColorOnSurface")),
subtitle = subtitle ??
StyledText(
text:
"There was an issue and the data requested was not fetched. You could try again or discard this result to start a new scan.",
color: ScanbotColor("?sbColorOnSurfaceVariant")),
retryButton = retryButton ?? ButtonConfiguration(),
cancelButton = cancelButton ?? ButtonConfiguration();