key

inline fun key(key: String, crossinline componentLambda: () -> Component): Component

Sets a manual key on the given Component returned in the lambda, e.g.

key("my_key") { Text(...) }