lineChanging

inline fun lineChanging(crossinline flowBuilder: suspend FlowCollector<Component>.() -> Unit)(source)

Deprecated

This function is not needed anymore since any flow can just be passed to "line"

Replace with

line(flow { flowBuilder() })

Adds a line where the content is changing.

To change the content, simply emit a new value to the flow.

This function allows you to add some custom change logic. If you want your line to update / change periodically, use the lineChangingPeriodically or literalLineChangingPeriodically functions instead.

See flow documention to learn more about flows.