Window Bottom Sheet
A bottom sheet that slides up from the bottom of the screen, rendered at window level without Scaffold.
Use LocalDismissState inside content to request dismissal from inner composables.
Parameters
Whether the WindowBottomSheet is shown.
The modifier to be applied to the WindowBottomSheet.
Optional title to display at the top of the WindowBottomSheet.
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 WindowBottomSheet.
Whether to dim the window behind the WindowBottomSheet.
The corner radius of the top corners of the WindowBottomSheet.
The maximum width of the WindowBottomSheet.
Will called when the user tries to dismiss the Dialog by clicking outside or pressing the back button.
The callback when the WindowBottomSheet is completely dismissed.
The margin outside the WindowBottomSheet.
The margin inside the WindowBottomSheet.
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.
The Composable content of the WindowBottomSheet.