switch
fun <Error class: unknown class>.switch(value: Boolean = false, name: String? = null, labelFirst: Boolean = false, label: String? = null, rich: Boolean = false, init: Switch.() -> Unit? = null): Switch
DSL builder extension function.
It takes the same parameters as the constructor of the built component.