FindAndPickBadgeConfiguration constructor
FindAndPickBadgeConfiguration({
- BadgeStyle? partiallyScanned,
- BadgeStyle? rejected,
- BadgeStyle? completed,
Implementation
FindAndPickBadgeConfiguration({
BadgeStyle? partiallyScanned,
BadgeStyle? rejected,
BadgeStyle? completed,
}) : partiallyScanned = partiallyScanned ??
BadgeStyle(
visible: true,
background: BackgroundStyle(
strokeColor: ScanbotColor("#FFFFFF30"),
fillColor: ScanbotColor("?sbColorWarning"),
strokeWidth: 0.0),
foregroundColor: ScanbotColor("?sbColorOnSurface")),
rejected = rejected ??
BadgeStyle(
visible: true,
background: BackgroundStyle(
strokeColor: ScanbotColor("#FFFFFF30"),
fillColor: ScanbotColor("?sbColorNegative"),
strokeWidth: 0.0),
foregroundColor: ScanbotColor("?sbColorOnSurface")),
completed = completed ??
BadgeStyle(
visible: true,
background: BackgroundStyle(
strokeColor: ScanbotColor("#FFFFFF30"),
fillColor: ScanbotColor("?sbColorPositive"),
strokeWidth: 0.0),
foregroundColor: ScanbotColor("?sbColorOnSurface"));