Overlay Dialog
A dialog with a title, a summary, and other contents.
Parameters
Whether the OverlayDialog is shown.
The modifier to be applied to the OverlayDialog.
The title of the OverlayDialog.
The color of the title.
The summary of the OverlayDialog.
The color of the summary.
The background color of the OverlayDialog.
Whether to enable window dimming when the OverlayDialog is shown.
Will called when the user tries to dismiss the Dialog by clicking outside or pressing the back button.
The callback when the OverlayDialog is completely dismissed.
The margin outside the OverlayDialog.
The margin for the built-in texts: width is the horizontal padding of the title and summary, height is the top padding above the title. The content slot is left unpadded so COUI-style button bars can span the full panel width.
Whether to apply default window insets padding to the OverlayDialog.
Whether to render the dialog in the root (outermost) Scaffold. When true (default), the dialog covers the full screen. When false, it renders within the current Scaffold's bounds.
The maximum width of the OverlayDialog.
Optional override for the large-screen presentation (centered scale/fade instead of bottom slide-in). If null, detected from the window size.
Optional corner radius override. If null, DialogDefaults.CornerRadius is used.
The Composable content of the OverlayDialog.