Functional Component State Property
class FunctionalComponentStateProperty<P>( val component: Component<*>, val initial: P, type: KType) : ObservableProperty<P>
Content copied to clipboard
Constructors
Link copied to clipboard
fun <P> FunctionalComponentStateProperty( component: Component<*>, initial: P, type: KType)
Content copied to clipboard
Functions
Link copied to clipboard
fun initLazy(block: suspend () -> Flow<P>): FunctionalComponentStateProperty<P>
Content copied to clipboard
Adds a callback that will initialize the property when it is access for the first time.