ControlButtonsOptions

data class ControlButtonsOptions(val id: String = "default", val buttons: List<ControlButtonOptions>, val layoutDirection: LayoutDirection = LayoutDirection.Horizontal, val alignment: Alignment = Alignment.Center, val style: ComponentStyle = ComponentStyle(), val spacing: Float = 8.0f, val padding: EdgeInsets = EdgeInsets.all(8f), val backgroundColor: Color = Color.Transparent, val borderRadius: Float = 8.0f, val buttonBackgroundColor: Color = Color.Transparent, val activeButtonBackgroundColor: Color = Color(0.2f, 0.2f, 0.2f, 0.8f))

Configuration options for the ControlButtons component.

Constructors

Link copied to clipboard
constructor(id: String = "default", buttons: List<ControlButtonOptions>, layoutDirection: LayoutDirection = LayoutDirection.Horizontal, alignment: Alignment = Alignment.Center, style: ComponentStyle = ComponentStyle(), spacing: Float = 8.0f, padding: EdgeInsets = EdgeInsets.all(8f), backgroundColor: Color = Color.Transparent, borderRadius: Float = 8.0f, buttonBackgroundColor: Color = Color.Transparent, activeButtonBackgroundColor: Color = Color(0.2f, 0.2f, 0.2f, 0.8f))

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val borderRadius: Float = 8.0f
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val spacing: Float = 8.0f
Link copied to clipboard