BarButtonConfiguration

data class BarButtonConfiguration(var visible: Boolean = true, var title: StyledText = StyledText( ), var accessibilityDescription: String = "", var background: BackgroundStyle = BackgroundStyle( ), var icon: IconStyle = IconStyle( ))

Button configuration.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JsonObject)
constructor(visible: Boolean = true, title: StyledText = StyledText( ), accessibilityDescription: String = "", background: BackgroundStyle = BackgroundStyle( ), icon: IconStyle = IconStyle( ))

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

The style of the button's background.

Link copied to clipboard

The style of the button's icon (icon, text).

Link copied to clipboard

The text to be displayed on the button.

Link copied to clipboard

Whether the button is visible or not. Default is true

Functions

Link copied to clipboard
fun toJson(): JsonObject