Widget

@ObjCName(name = "Widget", exact = true)
interface Widget<W : Any>

The target of a composable function's values. Usually binds to an associated native UI toolkit element, but could also forward changes through a serialized protocol or record the latest values for testing.

See also

Inheritors

Types

Link copied to clipboard
interface Children<W : Any>

An interface for manipulating a widget's list of children.

Properties

Link copied to clipboard
abstract var modifier: Modifier

A collection of elements that change how a widget is laid out.

Link copied to clipboard
abstract val value: W

The underlying platform-specific representation of this widget. This value will be supplied to another widget's Children for display.