emitLiteralText

inline suspend fun FlowCollector<Component>.emitLiteralText(baseText: String? = null, crossinline builder: LiteralTextBuilder.() -> Unit = {})(source)

Deprecated

This function is not useful enough to stay in Silk, therefore it will be removed in the future.

Replace with

emit(literalText(baseText) { builder() }

A utility function, allowing you to emit a Text to the flow, which is built by an easy to use literalText builder.