BadgeStyle constructor
BadgeStyle({
- bool visible = true,
- BackgroundStyle? background,
- ScanbotColor? foregroundColor,
Implementation
BadgeStyle({
this.visible = true,
BackgroundStyle? background,
ScanbotColor? foregroundColor,
}) : background = background ?? BackgroundStyle(),
foregroundColor = foregroundColor ?? ScanbotColor("?sbColorOnSurface");