insertNotNull
An extension function which inserts child component and binds it to the given state flow when the state value is not null.
Parameters
the state type
the container type
the StateFlow instance
remove all children of the child component
whether to run factory function immediately with the current state
a function which re-creates the view based on the given state
An extension function which inserts child component and binds it to the given state flow using the sub flow extractor when the state value is not null.
Parameters
the state type
the sub state type
the container type
the StateFlow instance
an extractor function for sub flow
remove all children of the child component
whether to run factory function immediately with the current state
a function which re-creates the view based on the given state