BasicFullScreenDialog

fun BasicFullScreenDialog(title: String, onDismiss: () -> Unit, onConfirm: () -> Unit, confirmEnabled: Boolean = true, confirmButtonText: String = stringResource(id = android.R.string.ok), content: @Composable ColumnScope.() -> Unit)(source)

Full-screen dialog shell with a top app bar, close action, confirm action, and scrollable body.

State hoisting contract:

  • The caller owns visibility state and must close the dialog from onDismiss/onConfirm.

  • content should receive already-prepared UI state and avoid business logic.

Dismissal contract: