BarButtonConfiguration

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

Configuration of the button located on a bar.

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 the button is selected through accessibility mode.

Link copied to clipboard

Configuration of the background appearance for the button.

Link copied to clipboard

Configuration of the icon appearance.

Link copied to clipboard

The text to be displayed on the button.

Link copied to clipboard

Determines whether the button is visible or not.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject