# BadgedButton constructor

BadgedButton({

1. ScanbotColor? badgeBackgroundColor,
2. ScanbotColor? badgeForegroundColor,
3. bool visible = true,
4. ScanbotColor? backgroundColor,
5. ScanbotColor? foregroundColor,
6. ScanbotColor? activeBackgroundColor,
7. ScanbotColor? activeForegroundColor,

})

## Implementation

    BadgedButton({
      ScanbotColor? badgeBackgroundColor,
      ScanbotColor? badgeForegroundColor,
      this.visible = true,
      ScanbotColor? backgroundColor,
      ScanbotColor? foregroundColor,
      ScanbotColor? activeBackgroundColor,
      ScanbotColor? activeForegroundColor,
    })  : badgeBackgroundColor = badgeBackgroundColor ?? ScanbotColor("#FFFFFF"),
          badgeForegroundColor = badgeForegroundColor ?? ScanbotColor("#C8193C"),
          backgroundColor = backgroundColor ?? ScanbotColor("#0000007A"),
          foregroundColor = foregroundColor ?? ScanbotColor("#FFFFFF"),
          activeBackgroundColor =
              activeBackgroundColor ?? ScanbotColor("#FFCE5C"),
          activeForegroundColor =
              activeForegroundColor ?? ScanbotColor("#1C1B1F");