from

fun from(value: Int): ButtonStyle(source)

Returns an instance of ButtonStyle with ButtonStyle.value equal to the specified value.