BadgeStyle constructor

BadgeStyle({
  1. bool visible = true,
  2. required BackgroundStyle background,
  3. ScanbotColor? foregroundColor,
})

Implementation

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