bindTo

fun <S, T : GenericFormComponent<S>> T.bindTo(mutableStateFlow: <Error class: unknown class><S>): T
fun <T : GenericFormComponent<String?>> T.bindTo(mutableStateFlow: <Error class: unknown class><String>): T
fun <T : GenericFormComponent<Number?>> T.bindTo(mutableStateFlow: <Error class: unknown class><Int?>): T
fun <T : GenericFormComponent<Number?>> T.bindTo(mutableStateFlow: <Error class: unknown class><Int>): T
fun <T : GenericFormComponent<Number?>> T.bindTo(mutableStateFlow: <Error class: unknown class><Double?>): T
fun <T : GenericFormComponent<Number?>> T.bindTo(mutableStateFlow: <Error class: unknown class><Double>): T
fun <T : GenericFormComponent<<Error class: unknown class>?>> T.bindTo(mutableStateFlow: <Error class: unknown class><<Error class: unknown class>>): T

Bidirectional data binding to the MutableStateFlow instance.

Return

current component

Parameters

mutableStateFlow

the MutableStateFlow instance


fun <T : GenericFormComponent<<Error class: unknown class>?>> T.bindTo(state: MutableState<<Error class: unknown class>>): T

Bidirectional data binding to the MutableState instance.

Return

current component

Parameters

state

the MutableState instance