BadgedButton
data class BadgedButton(var badgeBackgroundColor: ScanbotColor = ScanbotColor("#FFFFFF", isArgb = false), var badgeForegroundColor: ScanbotColor = ScanbotColor("#C8193C", isArgb = false), var visible: Boolean = true, var backgroundColor: ScanbotColor = ScanbotColor("#0000007A", isArgb = false), var foregroundColor: ScanbotColor = ScanbotColor("#FFFFFF", isArgb = false), var activeBackgroundColor: ScanbotColor = ScanbotColor("#FFCE5C", isArgb = false), var activeForegroundColor: ScanbotColor = ScanbotColor("#1C1B1F", isArgb = false))
Configuration of the round button with badge.
Constructors
Link copied to clipboard
constructor(json: JsonObject)
constructor(badgeBackgroundColor: ScanbotColor = ScanbotColor("#FFFFFF", isArgb = false), badgeForegroundColor: ScanbotColor = ScanbotColor("#C8193C", isArgb = false), visible: Boolean = true, backgroundColor: ScanbotColor = ScanbotColor("#0000007A", isArgb = false), foregroundColor: ScanbotColor = ScanbotColor("#FFFFFF", isArgb = false), activeBackgroundColor: ScanbotColor = ScanbotColor("#FFCE5C", isArgb = false), activeForegroundColor: ScanbotColor = ScanbotColor("#1C1B1F", isArgb = false))
Properties
Link copied to clipboard
Color of the button background shape when the button is active (selected, toggled). Default is "#FFCE5C"
Link copied to clipboard
Color of the button foreground (icon, text) when the button is active (selected, toggled). Default is "#1C1B1F"
Link copied to clipboard
Color of the button background shape. Default is "#0000007A"
Link copied to clipboard
Color of the badge's background shape. Default is "#FFFFFF"
Link copied to clipboard
Color of the badge foreground (icon, text). Default is "#C8193C"
Link copied to clipboard
Color of the button foreground (icon, text). Default is "#FFFFFF"