ListPopupDefaults

Properties

Link copied to clipboard

Default animation spec driving the popup content alpha while entering.

Link copied to clipboard

Default animation spec driving the popup content alpha while exiting.

Link copied to clipboard

A PopupPositionProvider that anchors the popup to a corner of the anchor for context menus.

Link copied to clipboard

Default animation spec driving the background dim while entering.

Link copied to clipboard

Default animation spec driving the background dim while exiting.

Link copied to clipboard

Default animation spec driving the scale/clip-reveal fraction progress of the popup.

Link copied to clipboard

Default minimum height the popup will occupy when measured. Used as the floor for the effective maxHeight and minHeight constraints during placement.

Link copied to clipboard

Default minimum width of the popup. Also matches the lower clamp inside ListPopupColumn's width measurement.

Link copied to clipboard

Default animation spec used to settle the popup back to its resting state after a gesture.

Functions

Link copied to clipboard
fun dropdownPositionProvider(verticalMargin: Dp = 8.dp, horizontalMargin: Dp = 0.dp): PopupPositionProvider

Creates a PopupPositionProvider that anchors the popup directly below (or above when there is no room) the anchor, used by dropdown-style list popups.