StackElement

data class StackElement(val requireDistinct: Boolean = true) : UiElement.Interactive

Element that buffers UI elements into its own layout dynamically.

Constructors

Link copied to clipboard
constructor(requireDistinct: Boolean = true)

Properties

Link copied to clipboard
val queue: Flow<UiElement>
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun close()
Link copied to clipboard
suspend fun print(element: UiElement)
Link copied to clipboard
suspend fun StackElement.println(message: String, textStyle: TextStyle = TextStyle.Body)
Link copied to clipboard
inline fun <T : UiElement> UiElement.renderWithType(block: T.() -> Unit): RenderResult