IconButton

data class IconButton(var visible: Boolean = true, var color: ScanbotColor = ScanbotColor("#FFFFFF", isArgb = false), var accessibilityDescription: String = "")

Configuration of the icon appearance.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JsonObject)
constructor(visible: Boolean = true, color: ScanbotColor = ScanbotColor("#FFFFFF", isArgb = false), accessibilityDescription: String = "")

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The text to be read when button is selected through accessibility mode. Default is ""

Link copied to clipboard

Icon color. Default is "#FFFFFF"

Link copied to clipboard

Whether the icon is visible on the button. Default is true

Functions

Link copied to clipboard
fun toJson(): JsonObject