view

fun view(block: ViewBuilder.() -> Unit): View(source)

DSL for creating a custom View.

Parameters

block

used to configure the View