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 inside the OverlayDialog.
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 for the centered presentation, or derived from the screen corner radius (clamped to 32dp..48dp) when bottom-attached.
The Composable content of the OverlayDialog.