Package-level declarations
Functions
Link copied to clipboard
fun OverlayBottomSheet(show: Boolean, modifier: Modifier = Modifier, title: String? = null, startAction: @Composable () -> Unit? = null, endAction: @Composable () -> Unit? = null, backgroundColor: Color = BottomSheetDefaults.backgroundColor(), enableWindowDim: Boolean = true, cornerRadius: Dp = BottomSheetDefaults.cornerRadius, sheetMaxWidth: Dp = BottomSheetDefaults.maxWidth, onDismissRequest: () -> Unit? = null, onDismissFinished: () -> Unit? = null, outsideMargin: DpSize = BottomSheetDefaults.outsideMargin, insideMargin: DpSize = BottomSheetDefaults.insideMargin, defaultWindowInsetsPadding: Boolean = true, dragHandleColor: Color = BottomSheetDefaults.dragHandleColor(), allowDismiss: Boolean = true, enableNestedScroll: Boolean = true, renderInRootScaffold: Boolean = true, content: @Composable () -> Unit)
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.
Link copied to clipboard
fun OverlayCascadingListPopup(show: Boolean, entries: List<DropdownEntry>, onDismissRequest: () -> Unit, popupModifier: Modifier = Modifier, onDismissFinished: () -> Unit? = null, popupPositionProvider: PopupPositionProvider = ListPopupDefaults.DropdownPositionProvider, alignment: PopupPositionProvider.Align = PopupPositionProvider.Align.End, enableWindowDim: Boolean = true, maxHeight: Dp? = null, minWidth: Dp = 200.dp, renderInRootScaffold: Boolean = true, dropdownColors: DropdownColors = DropdownDefaults.dropdownColors(), collapseOnSelection: Boolean = true)
A cascading list popup rendered inside the host Scaffold. Cascading depth is limited to 2.
Link copied to clipboard
fun OverlayDialog(show: Boolean, modifier: Modifier = Modifier, title: String? = null, titleColor: Color = DialogDefaults.titleColor(), summary: String? = null, summaryColor: Color = DialogDefaults.summaryColor(), backgroundColor: Color = DialogDefaults.backgroundColor(), enableWindowDim: Boolean = true, onDismissRequest: () -> Unit? = null, onDismissFinished: () -> Unit? = null, outsideMargin: DpSize = DialogDefaults.outsideMargin, insideMargin: DpSize = DialogDefaults.insideMargin, defaultWindowInsetsPadding: Boolean = true, renderInRootScaffold: Boolean = true, content: @Composable () -> Unit)
A dialog with a title, a summary, and other contents.
Link copied to clipboard
fun OverlayListPopup(show: Boolean, popupModifier: Modifier = Modifier, popupPositionProvider: PopupPositionProvider = ListPopupDefaults.DropdownPositionProvider, alignment: PopupPositionProvider.Align = PopupPositionProvider.Align.Start, enableWindowDim: Boolean = true, onDismissRequest: () -> Unit? = null, onDismissFinished: () -> Unit? = null, maxHeight: Dp? = null, minWidth: Dp = ListPopupDefaults.MinWidth, renderInRootScaffold: Boolean = true, content: @Composable () -> Unit)
A popup with a list of items.