switchInput

fun Container.switchInput(value: Boolean = false, className: String? = null, init: SwitchInput.() -> Unit? = null): SwitchInput

DSL builder extension function.

It takes the same parameters as the constructor of the built component.