Overlay Bottom Sheet
A bottom sheet that slides up from the bottom of the screen. The height adapts to the content size, but will not cover the status bar area.
Parameters
Whether the OverlayBottomSheet is shown.
The modifier to be applied to the OverlayBottomSheet.
Optional title to display at the top of the OverlayBottomSheet.
Optional Composable to display on the start side of the title (e.g. a close button).
Optional Composable to display on the end side of the title (e.g. a submit button).
The background color of the OverlayBottomSheet.
Whether to dim the window behind the OverlayBottomSheet.
The corner radius of the top corners of the OverlayBottomSheet.
The maximum width of the OverlayBottomSheet.
Will called when the user tries to dismiss the Dialog by clicking outside or pressing the back button.
The callback when the OverlayBottomSheet is completely dismissed.
The margin outside the OverlayBottomSheet.
The margin inside the OverlayBottomSheet.
Whether to apply default window insets padding.
The color of the drag handle at the top.
Whether to allow dismissing the sheet via drag or back gesture.
Whether to enable nested scrolling for the content.
Whether to render the bottom sheet in the root (outermost) Scaffold. When true (default), the bottom sheet covers the full screen. When false, it renders within the current Scaffold's bounds.
The Composable content of the OverlayBottomSheet.