Package-level declarations

Types

Link copied to clipboard
@Serializable
sealed interface Change
Link copied to clipboard
fun interface ChangesSink
Link copied to clipboard
@Serializable
sealed interface ChildrenChange : Change
Link copied to clipboard
@Serializable
value class ChildrenTag(val value: Int)
Link copied to clipboard
@Serializable
@SerialName(value = "create")
class Create(val id: Id, val tag: WidgetTag) : Change
Link copied to clipboard
@Serializable
class Event(val id: Id, val tag: EventTag, val args: List<JsonElement> = emptyList())
Link copied to clipboard
fun interface EventSink
Link copied to clipboard
@Serializable
value class EventTag(val value: Int)
Link copied to clipboard
@Serializable
value class Id(val value: Int)

Identifies a widget instance.

Link copied to clipboard
@Serializable
@SerialName(value = "modifier")
class ModifierChange(val id: Id, val elements: List<ModifierElement> = emptyList()) : ValueChange
Link copied to clipboard
@Serializable(with = ModifierElementSerializer::class)
class ModifierElement(val tag: ModifierTag, val value: JsonElement = DefaultValue)
Link copied to clipboard
@Serializable
value class ModifierTag(val value: Int)
Link copied to clipboard
@Serializable
@SerialName(value = "property")
class PropertyChange(val id: Id, val tag: PropertyTag, val value: JsonElement = JsonNull) : ValueChange
Link copied to clipboard
@Serializable
value class PropertyTag(val value: Int)
Link copied to clipboard
@Serializable
value class RedwoodVersion(val value: String) : Comparable<RedwoodVersion>

Version string for the Redwood project. This is a very strict subset of Gradle's version parsing and ordering semantics.

Link copied to clipboard
@Serializable
value class SnapshotChangeList(val changes: List<Change>)

A set of Changes for creating a view hierarchy from scratch. Intended for use in tests, debugging, and development tools.

Link copied to clipboard
sealed interface ValueChange : Change
Link copied to clipboard
@Serializable
value class WidgetTag(val value: Int)