ViewScope

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun ViewScope.Box(modifier: Modifier = Modifier, content: ViewScope.() -> Unit)

A container that stacks children on top of each other.

Link copied to clipboard
fun ViewScope.Column(modifier: Modifier = Modifier, content: ViewScope.() -> Unit)
Link copied to clipboard
fun <T> ViewScope.remember(key: String, calculation: () -> T): T

Remembers a value computed by calculation.

fun <T> ViewScope.remember(key: String, input: Any?, calculation: () -> T): T

Remembers a value computed by calculation, recomputing it only if input changes.

Link copied to clipboard
fun ViewScope.Row(modifier: Modifier = Modifier, content: ViewScope.() -> Unit)
Link copied to clipboard
fun ViewScope.Text(content: String, modifier: Modifier = Modifier)