CorePopup
fun CorePopup(state: UseCaseState, selection: CoreSelection, header: Header? = null, body: @Composable () -> Unit, onPositiveValid: Boolean = true, alignment: Alignment = Alignment.TopStart, offset: IntOffset = IntOffset(0, 0), properties: PopupProperties = PopupProperties())
Core popup that functions as the base of a custom use-case.
Parameters
state
The state of the sheet.
selection
The selection configuration for the dialog.
header
The header to be displayed at the top of the dialog.
body
The body content to be displayed inside the dialog.
onPositiveValid
If the positive button is valid and therefore enabled.
properties
The properties of the popup.