# BadgeStyle constructor

BadgeStyle({

1. bool visible = true,
2. BackgroundStyle? background,
3. ScanbotColor? foregroundColor,

})

## Implementation

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