card

fun Container.card(className: String? = null, init: Card.() -> Unit? = null): Card(source)

DSL builder extension function.

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