CoreView

fun CoreView(useCaseState: UseCaseState, selection: CoreSelection, header: Header? = null, body: @Composable () -> Unit, onPositiveValid: Boolean = true)

Core view that functions as the base of a custom use-case.

Parameters

useCaseState

The use-case state.

selection

The selection configuration for the dialog view.

header

The header to be displayed at the top of the dialog view.

body

The body content to be displayed inside the dialog view.

onPositiveValid

If the positive button is valid and therefore enabled.