WidgetValue

interface WidgetValue

A widget that's implemented as a value class, appropriate for use in tests.

Implementations of this interface may have lambda properties that trigger application behavior. These lambda properties are excluded from Any.equals, Any.hashCode, and Any.toString.

Properties

Link copied to clipboard

Returns all of the direct children of this widget, grouped by slot.

Link copied to clipboard
abstract val modifier: Modifier

Functions

Link copied to clipboard

Encode this widget value snapshot into a list of changes which can be serialized and later applied to the UI to recreate the structure and state.

Link copied to clipboard
abstract fun toDebugString(): String
Link copied to clipboard
abstract fun <W : Any> toWidget(widgetSystem: WidgetSystem<W>): Widget<W>