NullableTreePropProvider

inline fun NullableTreePropProvider(vararg props: TreePropValuePair<*>, crossinline component: () -> Component?): KComponent?

Same as TreePropProvider, but accepts a lambda that may return a nullable component, in which case it'll return null itself.


@JvmName(name = "NullableLegacyTreePropProvider")
inline fun NullableTreePropProvider(vararg props: ClassValuePair<*>, crossinline component: () -> Component?): KComponent?

Deprecated

Please, use the new [NullableTreePropProvider] with [TreePropValuePair] args. You can use [legacyTreePropOf] for interoperability with old API

Same as TreePropProvider, but accepts a lambda that may return a nullable component, in which case it'll return null itself.