GenerationInputForm
fun GenerationInputForm(modifier: Modifier = Modifier, state: GenerationInputFormState, isImg2Img: Boolean = false, textFieldContainerColor: Color = MaterialTheme.colorScheme.surfaceVariant, promptChipTextFieldState: MutableState<TextFieldValue>, negativePromptChipTextFieldState: MutableState<TextFieldValue>, onEvent: (GenerationInputFormEvent) -> Unit = {}, afterSlidersSection: @Composable () -> Unit = {})(source)
Renders the GenerationInputForm UI for the SDAI presentation layer.
Author
Dmitriy Moroz
Parameters
modifier
Compose modifier applied to the rendered UI.
state
state rendered or processed by the component.
isImg2Img
is img2 img value consumed by the API.
textFieldContainerColor
text field container color value consumed by the API.
promptChipTextFieldState
prompt chip text field state value consumed by the API.
negativePromptChipTextFieldState
negative prompt chip text field state value consumed by the API.
onEvent
callback invoked by the component.
afterSlidersSection
after sliders section value consumed by the API.